Struct serde_tagged::de::WithTag
source · pub struct WithTag<V> { /* private fields */ }
Expand description
A SeedFactory
implementation that can be used to retreive
a tag and value of known type.
This implementation creates a seed which deserializes a tagged value with known type and returns a tuple containing tag and value.
Implementations§
Trait Implementations§
source§impl<'de, V, T> SeedFactory<'de, T> for WithTag<V>where
V: Deserialize<'de>,
impl<'de, V, T> SeedFactory<'de, T> for WithTag<V>where
V: Deserialize<'de>,
Auto Trait Implementations§
impl<V> Freeze for WithTag<V>
impl<V> RefUnwindSafe for WithTag<V>where
V: RefUnwindSafe,
impl<V> Send for WithTag<V>where
V: Send,
impl<V> Sync for WithTag<V>where
V: Sync,
impl<V> Unpin for WithTag<V>where
V: Unpin,
impl<V> UnwindSafe for WithTag<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