pub enum BlockchainNetwork {
Bitcoin,
Ethereum,
}Expand description
Supported blockchain networks
Variants§
Trait Implementations§
Source§impl Clone for BlockchainNetwork
impl Clone for BlockchainNetwork
Source§fn clone(&self) -> BlockchainNetwork
fn clone(&self) -> BlockchainNetwork
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 BlockchainNetwork
Source§impl Debug for BlockchainNetwork
impl Debug for BlockchainNetwork
Source§impl<'de> Deserialize<'de> for BlockchainNetwork
impl<'de> Deserialize<'de> for BlockchainNetwork
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
Auto Trait Implementations§
impl Freeze for BlockchainNetwork
impl RefUnwindSafe for BlockchainNetwork
impl Send for BlockchainNetwork
impl Sync for BlockchainNetwork
impl Unpin for BlockchainNetwork
impl UnsafeUnpin for BlockchainNetwork
impl UnwindSafe for BlockchainNetwork
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