#[repr(transparent)]pub struct RelayId(pub i64);Tuple Fields§
§0: i64Trait Implementations§
Source§impl<'a> From<&'a GroupRelay> for RelayId
impl<'a> From<&'a GroupRelay> for RelayId
Source§fn from(relay: &'a GroupRelay) -> Self
fn from(relay: &'a GroupRelay) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a mut GroupRelay> for RelayId
impl<'a> From<&'a mut GroupRelay> for RelayId
Source§fn from(relay: &'a mut GroupRelay) -> Self
fn from(relay: &'a mut GroupRelay) -> Self
Converts to this type from the input type.
Source§impl From<GroupRelay> for RelayId
impl From<GroupRelay> for RelayId
Source§fn from(relay: GroupRelay) -> Self
fn from(relay: GroupRelay) -> Self
Converts to this type from the input type.
Source§impl Ord for RelayId
impl Ord for RelayId
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
Source§impl PartialOrd for RelayId
impl PartialOrd for RelayId
impl Copy for RelayId
impl Eq for RelayId
impl StructuralPartialEq for RelayId
Auto Trait Implementations§
impl Freeze for RelayId
impl RefUnwindSafe for RelayId
impl Send for RelayId
impl Sync for RelayId
impl Unpin for RelayId
impl UnsafeUnpin for RelayId
impl UnwindSafe for RelayId
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