pub enum AddressType {
Random,
Public,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AddressType
impl Clone for AddressType
Source§fn clone(&self) -> AddressType
fn clone(&self) -> AddressType
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 AddressType
Source§impl Debug for AddressType
impl Debug for AddressType
Source§impl Default for AddressType
impl Default for AddressType
Source§fn default() -> AddressType
fn default() -> AddressType
Returns the “default value” for a type. Read more
impl Eq for AddressType
Source§impl From<AddressType> for AddressType
impl From<AddressType> for AddressType
Source§fn from(address_type: AddressType) -> Self
fn from(address_type: AddressType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AddressType
impl PartialEq for AddressType
Source§fn eq(&self, other: &AddressType) -> bool
fn eq(&self, other: &AddressType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AddressType
Auto Trait Implementations§
impl Freeze for AddressType
impl RefUnwindSafe for AddressType
impl Send for AddressType
impl Sync for AddressType
impl Unpin for AddressType
impl UnsafeUnpin for AddressType
impl UnwindSafe for AddressType
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