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