pub struct NetworkMagic(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for NetworkMagic
impl Clone for NetworkMagic
Source§fn clone(&self) -> NetworkMagic
fn clone(&self) -> NetworkMagic
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 Debug for NetworkMagic
impl Debug for NetworkMagic
Source§impl<'b, C> Decode<'b, C> for NetworkMagic
impl<'b, C> Decode<'b, C> for NetworkMagic
Source§impl<'de> Deserialize<'de> for NetworkMagic
impl<'de> Deserialize<'de> for NetworkMagic
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NetworkMagic
impl Display for NetworkMagic
Source§impl<C> Encode<C> for NetworkMagic
impl<C> Encode<C> for NetworkMagic
Source§impl From<NetworkMagic> for u64
impl From<NetworkMagic> for u64
Source§fn from(value: NetworkMagic) -> Self
fn from(value: NetworkMagic) -> Self
Converts to this type from the input type.
Source§impl From<u64> for NetworkMagic
impl From<u64> for NetworkMagic
Source§impl FromStr for NetworkMagic
impl FromStr for NetworkMagic
Source§impl Ord for NetworkMagic
impl Ord for NetworkMagic
Source§fn cmp(&self, other: &NetworkMagic) -> Ordering
fn cmp(&self, other: &NetworkMagic) -> Ordering
1.21.0 · 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 PartialEq for NetworkMagic
impl PartialEq for NetworkMagic
Source§impl PartialOrd for NetworkMagic
impl PartialOrd for NetworkMagic
Source§impl Serialize for NetworkMagic
impl Serialize for NetworkMagic
impl Copy for NetworkMagic
impl Eq for NetworkMagic
impl StructuralPartialEq for NetworkMagic
Auto Trait Implementations§
impl Freeze for NetworkMagic
impl RefUnwindSafe for NetworkMagic
impl Send for NetworkMagic
impl Sync for NetworkMagic
impl Unpin for NetworkMagic
impl UnsafeUnpin for NetworkMagic
impl UnwindSafe for NetworkMagic
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<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