enum StructForm<'a> {
Struct,
ExternallyTagged(&'a Ident),
InternallyTagged(&'a Ident, TokenStream),
Untagged(&'a Ident, TokenStream),
}
Variants§
Struct
ExternallyTagged(&'a Ident)
Contains a variant name
InternallyTagged(&'a Ident, TokenStream)
Contains a variant name and an intermediate deserializer from which actual deserialization will be performed
Untagged(&'a Ident, TokenStream)
Contains a variant name and an intermediate deserializer from which actual deserialization will be performed
Auto Trait Implementations§
impl<'a> Freeze for StructForm<'a>
impl<'a> RefUnwindSafe for StructForm<'a>
impl<'a> !Send for StructForm<'a>
impl<'a> !Sync for StructForm<'a>
impl<'a> Unpin for StructForm<'a>
impl<'a> UnwindSafe for StructForm<'a>
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