pub struct ContextKey(/* private fields */);Trait Implementations§
Source§impl Clone for ContextKey
impl Clone for ContextKey
Source§fn clone(&self) -> ContextKey
fn clone(&self) -> ContextKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextKey
impl Debug for ContextKey
Source§impl<'de> Deserialize<'de> for ContextKey
impl<'de> Deserialize<'de> for ContextKey
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
Source§impl Hash for ContextKey
impl Hash for ContextKey
Source§impl PartialEq for ContextKey
impl PartialEq for ContextKey
Source§impl Serialize for ContextKey
impl Serialize for ContextKey
impl Copy for ContextKey
impl Eq for ContextKey
impl StructuralPartialEq for ContextKey
Auto Trait Implementations§
impl Freeze for ContextKey
impl RefUnwindSafe for ContextKey
impl Send for ContextKey
impl Sync for ContextKey
impl Unpin for ContextKey
impl UnsafeUnpin for ContextKey
impl UnwindSafe for ContextKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.