pub struct Gift<M> { /* private fields */ }Expand description
An opaque handle that is granted to the client. The server
owns the resource, and the client obtains a handle to it for
subsequent use with Gift::cite.
Implementations§
Trait Implementations§
Source§impl<'de, M> Deserialize<'de> for Gift<M>
impl<'de, M> Deserialize<'de> for Gift<M>
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl<M> Eq for Gift<M>
Auto Trait Implementations§
impl<M> !RefUnwindSafe for Gift<M>
impl<M> !UnwindSafe for Gift<M>
impl<M> Freeze for Gift<M>
impl<M> Send for Gift<M>
impl<M> Sync for Gift<M>
impl<M> Unpin for Gift<M>
impl<M> UnsafeUnpin for Gift<M>
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