pub struct GetRequest<K> {
pub key: K,
}Expand description
Request to get a value from the cache.
Fields§
§key: KThe key to retrieve
Implementations§
Source§impl<K> GetRequest<K>
impl<K> GetRequest<K>
Trait Implementations§
Source§impl<K: Clone> Clone for GetRequest<K>
impl<K: Clone> Clone for GetRequest<K>
Source§fn clone(&self) -> GetRequest<K>
fn clone(&self) -> GetRequest<K>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<K> Freeze for GetRequest<K>where
K: Freeze,
impl<K> RefUnwindSafe for GetRequest<K>where
K: RefUnwindSafe,
impl<K> Send for GetRequest<K>where
K: Send,
impl<K> Sync for GetRequest<K>where
K: Sync,
impl<K> Unpin for GetRequest<K>where
K: Unpin,
impl<K> UnsafeUnpin for GetRequest<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for GetRequest<K>where
K: 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