pub struct Push<P>(pub P);Expand description
Wraps a push value
Tuple Fields§
§0: PImplementations§
Source§impl<P> Push<P>
impl<P> Push<P>
pub fn into_inner(self) -> P
Trait Implementations§
Source§impl<'de, P> Deserialize<'de> for Push<P>where
P: Deserialize<'de> + 'de,
impl<'de, P> Deserialize<'de> for Push<P>where
P: Deserialize<'de> + 'de,
Source§fn 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<P> Freeze for Push<P>where
P: Freeze,
impl<P> RefUnwindSafe for Push<P>where
P: RefUnwindSafe,
impl<P> Send for Push<P>where
P: Send,
impl<P> Sync for Push<P>where
P: Sync,
impl<P> Unpin for Push<P>where
P: Unpin,
impl<P> UnsafeUnpin for Push<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for Push<P>where
P: UnwindSafe,
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