pub struct VardiffKey {
pub downstream_id: DownstreamId,
pub channel_id: ChannelId,
}Fields§
§downstream_id: DownstreamId§channel_id: ChannelIdTrait Implementations§
Source§impl Clone for VardiffKey
impl Clone for VardiffKey
Source§fn clone(&self) -> VardiffKey
fn clone(&self) -> VardiffKey
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 moreimpl Copy for VardiffKey
Source§impl Debug for VardiffKey
impl Debug for VardiffKey
impl Eq for VardiffKey
Source§impl From<(usize, u32)> for VardiffKey
impl From<(usize, u32)> for VardiffKey
Source§fn from(value: (DownstreamId, ChannelId)) -> Self
fn from(value: (DownstreamId, ChannelId)) -> Self
Converts to this type from the input type.
Source§impl Hash for VardiffKey
impl Hash for VardiffKey
Source§impl PartialEq for VardiffKey
impl PartialEq for VardiffKey
Source§fn eq(&self, other: &VardiffKey) -> bool
fn eq(&self, other: &VardiffKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VardiffKey
Auto Trait Implementations§
impl Freeze for VardiffKey
impl RefUnwindSafe for VardiffKey
impl Send for VardiffKey
impl Sync for VardiffKey
impl Unpin for VardiffKey
impl UnsafeUnpin for VardiffKey
impl UnwindSafe for VardiffKey
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§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.