pub enum ChainType {
Bitcoin = 0,
Ethereum = 60,
Tron = 195,
Dfinity = 223,
Solana = 501,
Ton = 607,
EX3Layer2 = 87_653_426,
}Expand description
Registered coin types for BIP-0044 https://github.com/satoshilabs/slips/blob/master/slip-0044.md
Variants§
Implementations§
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 PartialOrd for ChainType
impl PartialOrd for ChainType
impl 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