pub enum VariantMeta {
Message {
kw: message,
value: LitStr,
},
DetailedMessage {
kw: detailed_message,
value: LitStr,
},
Serialize {
kw: serialize,
value: LitStr,
},
Documentation {
value: LitStr,
},
ToString {
kw: to_string,
value: LitStr,
},
Disabled(disabled),
Default(default),
DefaultWith {
kw: default_with,
value: LitStr,
},
AsciiCaseInsensitive {
kw: ascii_case_insensitive,
value: bool,
},
Props {
kw: props,
props: Vec<(LitStr, LitStr)>,
},
}
Variants§
Message
DetailedMessage
Serialize
Documentation
ToString
Disabled(disabled)
Default(default)
DefaultWith
AsciiCaseInsensitive
Props
Trait Implementations§
Source§impl Parse for VariantMeta
impl Parse for VariantMeta
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for VariantMeta
impl RefUnwindSafe for VariantMeta
impl !Send for VariantMeta
impl !Sync for VariantMeta
impl Unpin for VariantMeta
impl UnwindSafe for VariantMeta
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