Enum ex3_node_types::chain::ChainType
source · pub enum ChainType {
Bitcoin = 0,
Ethereum = 60,
Dfinity = 223,
EX3Layer2 = 87_653_426,
}Expand description
Registered coin types for BIP-0044 https://github.com/satoshilabs/slips/blob/master/slip-0044.md
Variants§
Implementations§
source§impl ChainType
impl ChainType
pub fn is_support_sign_schema(&self, sign_schema: &SignatureSchema) -> bool
Trait Implementations§
source§impl CandidType for ChainType
impl CandidType for ChainType
source§impl<'de> Deserialize<'de> for ChainType
impl<'de> Deserialize<'de> for ChainType
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 Ord for ChainType
impl Ord for ChainType
source§impl PartialEq for ChainType
impl PartialEq for ChainType
source§impl PartialOrd for ChainType
impl PartialOrd for ChainType
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 moreimpl Eq for ChainType
impl StructuralPartialEq for ChainType
Auto Trait Implementations§
impl Freeze for ChainType
impl RefUnwindSafe for ChainType
impl Send for ChainType
impl Sync for ChainType
impl Unpin for ChainType
impl UnwindSafe for ChainType
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