Enum redgold_schema::structs::AddressType
source · #[repr(i32)]pub enum AddressType {
Sha3224ChecksumPublic = 0,
MultihashKeyhash = 1,
BitcoinExternalString = 2,
EthereumCompatAddress = 3,
PublicKeyDirectAddress = 4,
UnknownAddressType = 5,
ScriptHash = 6,
}Variants§
Sha3224ChecksumPublic = 0
MultihashKeyhash = 1
BitcoinExternalString = 2
EthereumCompatAddress = 3
PublicKeyDirectAddress = 4
UnknownAddressType = 5
ScriptHash = 6
Implementations§
Trait Implementations§
source§impl Clone for AddressType
impl Clone for AddressType
source§fn clone(&self) -> AddressType
fn clone(&self) -> AddressType
Returns a copy 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 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
source§impl<'de> Deserialize<'de> for AddressType
impl<'de> Deserialize<'de> for AddressType
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 From<AddressType> for i32
impl From<AddressType> for i32
source§fn from(value: AddressType) -> i32
fn from(value: AddressType) -> i32
Converts to this type from the input type.
source§impl FromStr for AddressType
impl FromStr for AddressType
source§impl Hash for AddressType
impl Hash for AddressType
source§impl IntoEnumIterator for AddressType
impl IntoEnumIterator for AddressType
type Iterator = AddressTypeIter
fn iter() -> AddressTypeIter ⓘ
source§impl Ord for AddressType
impl Ord for AddressType
source§fn cmp(&self, other: &AddressType) -> Ordering
fn cmp(&self, other: &AddressType) -> 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 AddressType
impl PartialEq for AddressType
source§fn eq(&self, other: &AddressType) -> bool
fn eq(&self, other: &AddressType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for AddressType
impl PartialOrd for AddressType
source§fn partial_cmp(&self, other: &AddressType) -> Option<Ordering>
fn partial_cmp(&self, other: &AddressType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for AddressType
impl Serialize for AddressType
source§impl TryFrom<&str> for AddressType
impl TryFrom<&str> for AddressType
impl Copy for AddressType
impl Eq for AddressType
impl StructuralEq for AddressType
impl StructuralPartialEq for AddressType
Auto Trait Implementations§
impl RefUnwindSafe for AddressType
impl Send for AddressType
impl Sync for AddressType
impl Unpin 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