Struct serde_with::de::DeserializeAsWrap
source · [−]pub struct DeserializeAsWrap<T, U> { /* private fields */ }
Expand description
Helper type to implement DeserializeAs
for container-like types.
Implementations
sourceimpl<'de, T, U> DeserializeAsWrap<T, U>
impl<'de, T, U> DeserializeAsWrap<T, U>
sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Return the inner value of type T
.
Trait Implementations
sourceimpl<T: Debug, U: Debug> Debug for DeserializeAsWrap<T, U>
impl<T: Debug, U: Debug> Debug for DeserializeAsWrap<T, U>
sourceimpl<'de, T, U> Deserialize<'de> for DeserializeAsWrap<T, U> where
U: DeserializeAs<'de, T>,
impl<'de, T, U> Deserialize<'de> for DeserializeAsWrap<T, U> where
U: DeserializeAs<'de, T>,
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<T, U> RefUnwindSafe for DeserializeAsWrap<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for DeserializeAsWrap<T, U> where
T: Send,
U: Send,
impl<T, U> Sync for DeserializeAsWrap<T, U> where
T: Sync,
U: Sync,
impl<T, U> Unpin for DeserializeAsWrap<T, U> where
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for DeserializeAsWrap<T, U> where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more