struct SeedStructVariant<V> {
visitor: V,
}
Fields§
§visitor: V
Trait Implementations§
source§impl<'de, V> DeserializeSeed<'de> for SeedStructVariant<V>where
V: Visitor<'de>,
impl<'de, V> DeserializeSeed<'de> for SeedStructVariant<V>where
V: Visitor<'de>,
source§fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error>where
D: Deserializer<'de>,
Equivalent to the more common
Deserialize::deserialize
method, except
with some initial piece of data (the seed) passed in.Auto Trait Implementations§
impl<V> Freeze for SeedStructVariant<V>where
V: Freeze,
impl<V> RefUnwindSafe for SeedStructVariant<V>where
V: RefUnwindSafe,
impl<V> Send for SeedStructVariant<V>where
V: Send,
impl<V> Sync for SeedStructVariant<V>where
V: Sync,
impl<V> Unpin for SeedStructVariant<V>where
V: Unpin,
impl<V> UnwindSafe for SeedStructVariant<V>where
V: UnwindSafe,
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