pub enum Blockchain {
Solana,
Base,
Polygon,
}Expand description
Blockchain network for the transaction
Variants§
Trait Implementations§
Source§impl Clone for Blockchain
impl Clone for Blockchain
Source§fn clone(&self) -> Blockchain
fn clone(&self) -> Blockchain
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 moreSource§impl Debug for Blockchain
impl Debug for Blockchain
Source§impl Default for Blockchain
impl Default for Blockchain
Source§fn default() -> Blockchain
fn default() -> Blockchain
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Blockchain
impl<'de> Deserialize<'de> for Blockchain
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 Display for Blockchain
impl Display for Blockchain
Source§impl From<Blockchain> for BlockchainDto
impl From<Blockchain> for BlockchainDto
Source§fn from(blockchain: Blockchain) -> Self
fn from(blockchain: Blockchain) -> Self
Converts to this type from the input type.
Source§impl From<BlockchainDto> for Blockchain
impl From<BlockchainDto> for Blockchain
Source§fn from(dto: BlockchainDto) -> Self
fn from(dto: BlockchainDto) -> Self
Converts to this type from the input type.
Source§impl Hash for Blockchain
impl Hash for Blockchain
Source§impl PartialEq for Blockchain
impl PartialEq for Blockchain
Source§fn eq(&self, other: &Blockchain) -> bool
fn eq(&self, other: &Blockchain) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Blockchain
impl Serialize for Blockchain
impl Copy for Blockchain
impl Eq for Blockchain
impl StructuralPartialEq for Blockchain
Auto Trait Implementations§
impl Freeze for Blockchain
impl RefUnwindSafe for Blockchain
impl Send for Blockchain
impl Sync for Blockchain
impl Unpin for Blockchain
impl UnsafeUnpin for Blockchain
impl UnwindSafe for Blockchain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.