pub enum WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1 {
WalletSolanaAsset(WalletSolanaAsset),
String(WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1String),
}Expand description
WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
JSON schema
{
"allOf": [
{
"oneOf": [
{
"$ref": "#/components/schemas/WalletEthereumAsset"
},
{
"$ref": "#/components/schemas/WalletSolanaAsset"
},
{
"type": "string"
}
]
},
{
"$ref": "#/components/schemas/WalletSolanaAsset"
},
{
"not": {
"$ref": "#/components/schemas/WalletEthereumAsset"
}
},
{
"not": {
"type": "string"
}
}
]
}Variants§
WalletSolanaAsset(WalletSolanaAsset)
String(WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1String)
Trait Implementations§
Source§impl Clone for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl Clone for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
Source§fn clone(
&self,
) -> WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
fn clone( &self, ) -> WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
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 WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl<'de> Deserialize<'de> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
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<&WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl From<&WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
Source§fn from(
value: &WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1,
) -> Self
fn from( value: &WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1, ) -> Self
Converts to this type from the input type.
Source§impl From<WalletSolanaAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl From<WalletSolanaAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
Source§fn from(value: WalletSolanaAsset) -> Self
fn from(value: WalletSolanaAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1> for WalletTransactionsResponseTransactionsItemDetailsVariant0Asset
impl From<WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1> for WalletTransactionsResponseTransactionsItemDetailsVariant0Asset
Source§fn from(
value: WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1,
) -> Self
fn from( value: WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1, ) -> Self
Converts to this type from the input type.
Source§impl From<WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1String> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl From<WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1String> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
Source§fn from(
value: WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1String,
) -> Self
fn from( value: WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1String, ) -> Self
Converts to this type from the input type.
Source§impl TryFrom<&String> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl TryFrom<&String> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl TryFrom<&str> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl TryFrom<String> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl RefUnwindSafe for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl Send for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl Sync for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl Unpin for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl UnsafeUnpin for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
impl UnwindSafe for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant1
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