#[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
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more