pub struct ExchangeId(pub u16);Expand description
A 16-bit exchange identifier (Core §4.4.3.3).
Tuple Fields§
§0: u16Trait Implementations§
Source§impl Clone for ExchangeId
impl Clone for ExchangeId
Source§fn clone(&self) -> ExchangeId
fn clone(&self) -> ExchangeId
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 ExchangeId
Source§impl Debug for ExchangeId
impl Debug for ExchangeId
Source§impl Default for ExchangeId
impl Default for ExchangeId
Source§fn default() -> ExchangeId
fn default() -> ExchangeId
Returns the “default value” for a type. Read more
impl Eq for ExchangeId
Source§impl Hash for ExchangeId
impl Hash for ExchangeId
Source§impl Ord for ExchangeId
impl Ord for ExchangeId
Source§fn cmp(&self, other: &ExchangeId) -> Ordering
fn cmp(&self, other: &ExchangeId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExchangeId
impl PartialEq for ExchangeId
Source§impl PartialOrd for ExchangeId
impl PartialOrd for ExchangeId
impl StructuralPartialEq for ExchangeId
Auto Trait Implementations§
impl Freeze for ExchangeId
impl RefUnwindSafe for ExchangeId
impl Send for ExchangeId
impl Sync for ExchangeId
impl Unpin for ExchangeId
impl UnsafeUnpin for ExchangeId
impl UnwindSafe for ExchangeId
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