pub enum VisitMap<'de> {
Datetime(Datetime),
Key(Cow<'de, str>),
}
Available on crate features
serde
and alloc
only.Expand description
Integrate Datetime
into an untagged deserialize
Variants§
Datetime(Datetime)
The map was deserialized as a Datetime value
Key(Cow<'de, str>)
The map is of an unknown format and needs further deserialization
Implementations§
Auto Trait Implementations§
impl<'de> Freeze for VisitMap<'de>
impl<'de> RefUnwindSafe for VisitMap<'de>
impl<'de> Send for VisitMap<'de>
impl<'de> Sync for VisitMap<'de>
impl<'de> Unpin for VisitMap<'de>
impl<'de> UnwindSafe for VisitMap<'de>
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes
Size for each variant:
Datetime
: 24 bytesKey
: 28 bytes