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