pub enum AntNetwork {
Public,
Antplus,
Antfs,
Private,
UnknownVariant(u8),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AntNetwork
impl Clone for AntNetwork
Source§fn clone(&self) -> AntNetwork
fn clone(&self) -> AntNetwork
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 AntNetwork
impl Debug for AntNetwork
Source§impl Display for AntNetwork
impl Display for AntNetwork
Source§impl From<&str> for AntNetwork
impl From<&str> for AntNetwork
Source§impl From<i64> for AntNetwork
impl From<i64> for AntNetwork
Source§impl From<u8> for AntNetwork
impl From<u8> for AntNetwork
Source§impl Hash for AntNetwork
impl Hash for AntNetwork
Source§impl Ord for AntNetwork
impl Ord for AntNetwork
Source§fn cmp(&self, other: &AntNetwork) -> Ordering
fn cmp(&self, other: &AntNetwork) -> 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 AntNetwork
impl PartialEq for AntNetwork
Source§impl PartialOrd for AntNetwork
impl PartialOrd for AntNetwork
Source§impl Serialize for AntNetwork
impl Serialize for AntNetwork
impl Copy for AntNetwork
impl Eq for AntNetwork
impl StructuralPartialEq for AntNetwork
Auto Trait Implementations§
impl Freeze for AntNetwork
impl RefUnwindSafe for AntNetwork
impl Send for AntNetwork
impl Sync for AntNetwork
impl Unpin for AntNetwork
impl UnwindSafe for AntNetwork
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