pub enum TransferReceivedTransactionDetailAsset {
WalletEthereumAsset(WalletEthereumAsset),
WalletSolanaAsset(WalletSolanaAsset),
String(String),
}Expand description
TransferReceivedTransactionDetailAsset
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/WalletEthereumAsset"
},
{
"$ref": "#/components/schemas/WalletSolanaAsset"
},
{
"type": "string"
}
]
}Variants§
Trait Implementations§
Source§impl Clone for TransferReceivedTransactionDetailAsset
impl Clone for TransferReceivedTransactionDetailAsset
Source§fn clone(&self) -> TransferReceivedTransactionDetailAsset
fn clone(&self) -> TransferReceivedTransactionDetailAsset
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<'de> Deserialize<'de> for TransferReceivedTransactionDetailAsset
impl<'de> Deserialize<'de> for TransferReceivedTransactionDetailAsset
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<&TransferReceivedTransactionDetailAsset> for TransferReceivedTransactionDetailAsset
impl From<&TransferReceivedTransactionDetailAsset> for TransferReceivedTransactionDetailAsset
Source§fn from(value: &TransferReceivedTransactionDetailAsset) -> Self
fn from(value: &TransferReceivedTransactionDetailAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletEthereumAsset> for TransferReceivedTransactionDetailAsset
impl From<WalletEthereumAsset> for TransferReceivedTransactionDetailAsset
Source§fn from(value: WalletEthereumAsset) -> Self
fn from(value: WalletEthereumAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletSolanaAsset> for TransferReceivedTransactionDetailAsset
impl From<WalletSolanaAsset> for TransferReceivedTransactionDetailAsset
Source§fn from(value: WalletSolanaAsset) -> Self
fn from(value: WalletSolanaAsset) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransferReceivedTransactionDetailAsset
impl RefUnwindSafe for TransferReceivedTransactionDetailAsset
impl Send for TransferReceivedTransactionDetailAsset
impl Sync for TransferReceivedTransactionDetailAsset
impl Unpin for TransferReceivedTransactionDetailAsset
impl UnsafeUnpin for TransferReceivedTransactionDetailAsset
impl UnwindSafe for TransferReceivedTransactionDetailAsset
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