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