pub enum WalletEthereumAsset {
Avax,
Eth,
Eurc,
Pol,
Usdb,
Usdc,
UsdcE,
Usdt,
}Expand description
A named asset on Ethereum-compatible chains.
JSON schema
{
"title": "WalletEthereumAsset",
"description": "A named asset on Ethereum-compatible chains.",
"type": "string",
"enum": [
"avax",
"eth",
"eurc",
"pol",
"usdb",
"usdc",
"usdc.e",
"usdt"
],
"x-stainless-model": "wallets.wallet_ethereum_asset"
}Variants§
Trait Implementations§
Source§impl Clone for WalletEthereumAsset
impl Clone for WalletEthereumAsset
Source§fn clone(&self) -> WalletEthereumAsset
fn clone(&self) -> WalletEthereumAsset
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 moreimpl Copy for WalletEthereumAsset
Source§impl Debug for WalletEthereumAsset
impl Debug for WalletEthereumAsset
Source§impl<'de> Deserialize<'de> for WalletEthereumAsset
impl<'de> Deserialize<'de> for WalletEthereumAsset
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 Display for WalletEthereumAsset
impl Display for WalletEthereumAsset
impl Eq for WalletEthereumAsset
Source§impl From<&WalletEthereumAsset> for WalletEthereumAsset
impl From<&WalletEthereumAsset> for WalletEthereumAsset
Source§fn from(value: &WalletEthereumAsset) -> Self
fn from(value: &WalletEthereumAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletEthereumAsset> for GetWalletBalanceAsset
impl From<WalletEthereumAsset> for GetWalletBalanceAsset
Source§fn from(value: WalletEthereumAsset) -> Self
fn from(value: WalletEthereumAsset) -> 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<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<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<WalletEthereumAsset> for WalletAsset
impl From<WalletEthereumAsset> for WalletAsset
Source§fn from(value: WalletEthereumAsset) -> Self
fn from(value: WalletEthereumAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletEthereumAsset> for WalletTransactionsAsset
impl From<WalletEthereumAsset> for WalletTransactionsAsset
Source§fn from(value: WalletEthereumAsset) -> Self
fn from(value: WalletEthereumAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletEthereumAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant0
impl From<WalletEthereumAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant0
Source§fn from(value: WalletEthereumAsset) -> Self
fn from(value: WalletEthereumAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletEthereumAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant2
impl From<WalletEthereumAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant2
Source§fn from(value: WalletEthereumAsset) -> Self
fn from(value: WalletEthereumAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletEthereumAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant1AssetVariant0
impl From<WalletEthereumAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant1AssetVariant0
Source§fn from(value: WalletEthereumAsset) -> Self
fn from(value: WalletEthereumAsset) -> 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 FromStr for WalletEthereumAsset
impl FromStr for WalletEthereumAsset
Source§impl Hash for WalletEthereumAsset
impl Hash for WalletEthereumAsset
Source§impl Ord for WalletEthereumAsset
impl Ord for WalletEthereumAsset
Source§fn cmp(&self, other: &WalletEthereumAsset) -> Ordering
fn cmp(&self, other: &WalletEthereumAsset) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WalletEthereumAsset
impl PartialEq for WalletEthereumAsset
Source§fn eq(&self, other: &WalletEthereumAsset) -> bool
fn eq(&self, other: &WalletEthereumAsset) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WalletEthereumAsset
impl PartialOrd for WalletEthereumAsset
Source§impl Serialize for WalletEthereumAsset
impl Serialize for WalletEthereumAsset
impl StructuralPartialEq for WalletEthereumAsset
Source§impl TryFrom<&String> for WalletEthereumAsset
impl TryFrom<&String> for WalletEthereumAsset
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for WalletEthereumAsset
impl TryFrom<&str> for WalletEthereumAsset
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for WalletEthereumAsset
impl TryFrom<String> for WalletEthereumAsset
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for WalletEthereumAsset
impl RefUnwindSafe for WalletEthereumAsset
impl Send for WalletEthereumAsset
impl Sync for WalletEthereumAsset
impl Unpin for WalletEthereumAsset
impl UnsafeUnpin for WalletEthereumAsset
impl UnwindSafe for WalletEthereumAsset
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