pub struct MessageKey<K>(pub K)
where
K: Eq + Hash + Debug;
Tuple Fields§
§0: K
Implementations§
Trait Implementations§
Source§impl<K> Clone for MessageKey<K>
impl<K> Clone for MessageKey<K>
Source§fn clone(&self) -> MessageKey<K>
fn clone(&self) -> MessageKey<K>
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<K> Debug for MessageKey<K>
impl<K> Debug for MessageKey<K>
Source§impl<K> Hash for MessageKey<K>
impl<K> Hash for MessageKey<K>
Source§impl<K> PartialEq for MessageKey<K>
impl<K> PartialEq for MessageKey<K>
impl<K> Eq for MessageKey<K>
impl<K> StructuralPartialEq for MessageKey<K>
Auto Trait Implementations§
impl<K> Freeze for MessageKey<K>where
K: Freeze,
impl<K> RefUnwindSafe for MessageKey<K>where
K: RefUnwindSafe,
impl<K> Send for MessageKey<K>where
K: Send,
impl<K> Sync for MessageKey<K>where
K: Sync,
impl<K> Unpin for MessageKey<K>where
K: Unpin,
impl<K> UnwindSafe for MessageKey<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