Struct serde_tagged::util::erased::SerializeErased
source · pub struct SerializeErased<'b, T: ?Sized + 'b>(pub &'b T);
Expand description
A serializable type that serializes the enclosed value using erased_serde
.
Tuple Fields§
§0: &'b T
Trait Implementations§
Auto Trait Implementations§
impl<'b, T> Freeze for SerializeErased<'b, T>where
T: ?Sized,
impl<'b, T> RefUnwindSafe for SerializeErased<'b, T>where
T: RefUnwindSafe + ?Sized,
impl<'b, T> Send for SerializeErased<'b, T>
impl<'b, T> Sync for SerializeErased<'b, T>
impl<'b, T> Unpin for SerializeErased<'b, T>where
T: ?Sized,
impl<'b, T> UnwindSafe for SerializeErased<'b, T>where
T: RefUnwindSafe + ?Sized,
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