#[repr(transparent)]pub struct Payload<'a, T>(pub &'a T)
where
T: Serializer;
Tuple Fields§
§0: &'a T
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Payload<'a, T>
impl<'a, T> RefUnwindSafe for Payload<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Payload<'a, T>where
T: Sync,
impl<'a, T> Sync for Payload<'a, T>where
T: Sync,
impl<'a, T> Unpin for Payload<'a, T>
impl<'a, T> UnwindSafe for Payload<'a, T>where
T: RefUnwindSafe,
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