pub enum ConfiguredVariantRef {
Base,
Named(VariantId),
}Expand description
Three-state agent fallback authoring after field-presence decoding.
Variants§
Trait Implementations§
Source§impl Clone for ConfiguredVariantRef
impl Clone for ConfiguredVariantRef
Source§fn clone(&self) -> ConfiguredVariantRef
fn clone(&self) -> ConfiguredVariantRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConfiguredVariantRef
impl Debug for ConfiguredVariantRef
Source§impl<'de> Deserialize<'de> for ConfiguredVariantRef
impl<'de> Deserialize<'de> for ConfiguredVariantRef
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConfiguredVariantRef
Source§impl JsonSchema for ConfiguredVariantRef
impl JsonSchema for ConfiguredVariantRef
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§impl PartialEq for ConfiguredVariantRef
impl PartialEq for ConfiguredVariantRef
Source§fn eq(&self, other: &ConfiguredVariantRef) -> bool
fn eq(&self, other: &ConfiguredVariantRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfiguredVariantRef
impl Serialize for ConfiguredVariantRef
impl StructuralPartialEq for ConfiguredVariantRef
Auto Trait Implementations§
impl Freeze for ConfiguredVariantRef
impl RefUnwindSafe for ConfiguredVariantRef
impl Send for ConfiguredVariantRef
impl Sync for ConfiguredVariantRef
impl Unpin for ConfiguredVariantRef
impl UnsafeUnpin for ConfiguredVariantRef
impl UnwindSafe for ConfiguredVariantRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more