Struct serde_urlencoded::de::ValueEnumAccess
source · struct ValueEnumAccess<'de>(Cow<'de, str>);
Tuple Fields§
§0: Cow<'de, str>
Trait Implementations§
source§impl<'de> EnumAccess<'de> for ValueEnumAccess<'de>
impl<'de> EnumAccess<'de> for ValueEnumAccess<'de>
source§type Error = Error
type Error = Error
The error type that can be returned if some error occurs during
deserialization.
source§type Variant = UnitOnlyVariantAccess
type Variant = UnitOnlyVariantAccess
The
Visitor
that will be used to deserialize the content of the enum
variant.source§fn variant_seed<V>(
self,
seed: V,
) -> Result<(V::Value, Self::Variant), Self::Error>where
V: DeserializeSeed<'de>,
fn variant_seed<V>(
self,
seed: V,
) -> Result<(V::Value, Self::Variant), Self::Error>where
V: DeserializeSeed<'de>,
variant
is called to identify which variant to deserialize. Read moreAuto Trait Implementations§
impl<'de> Freeze for ValueEnumAccess<'de>
impl<'de> RefUnwindSafe for ValueEnumAccess<'de>
impl<'de> Send for ValueEnumAccess<'de>
impl<'de> Sync for ValueEnumAccess<'de>
impl<'de> Unpin for ValueEnumAccess<'de>
impl<'de> UnwindSafe for ValueEnumAccess<'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