Struct serde_with::ser::SerializeAsWrap
source · [−]Expand description
Helper type to implement SerializeAs
for container-like types.
Implementations
Trait Implementations
sourceimpl<'a, T, U> From<&'a T> for SerializeAsWrap<'a, T, U> where
T: ?Sized,
U: ?Sized,
U: SerializeAs<T>,
impl<'a, T, U> From<&'a T> for SerializeAsWrap<'a, T, U> where
T: ?Sized,
U: ?Sized,
U: SerializeAs<T>,
sourceimpl<'a, T, U> Serialize for SerializeAsWrap<'a, T, U> where
T: ?Sized,
U: ?Sized,
U: SerializeAs<T>,
impl<'a, T, U> Serialize for SerializeAsWrap<'a, T, U> where
T: ?Sized,
U: ?Sized,
U: SerializeAs<T>,
Auto Trait Implementations
impl<'a, T: ?Sized, U: ?Sized> RefUnwindSafe for SerializeAsWrap<'a, T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<'a, T: ?Sized, U: ?Sized> Send for SerializeAsWrap<'a, T, U> where
T: Sync,
U: Send,
impl<'a, T: ?Sized, U: ?Sized> Sync for SerializeAsWrap<'a, T, U> where
T: Sync,
U: Sync,
impl<'a, T: ?Sized, U: ?Sized> Unpin for SerializeAsWrap<'a, T, U> where
U: Unpin,
impl<'a, T: ?Sized, U: ?Sized> UnwindSafe for SerializeAsWrap<'a, T, U> where
T: RefUnwindSafe,
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