pub enum WalletSolanaAsset {
Eurc,
Sol,
Usdb,
Usdc,
}Expand description
A named asset on Solana.
JSON schema
{
"title": "WalletSolanaAsset",
"description": "A named asset on Solana.",
"type": "string",
"enum": [
"eurc",
"sol",
"usdb",
"usdc"
],
"x-stainless-model": "wallets.wallet_solana_asset"
}Variants§
Trait Implementations§
Source§impl Clone for WalletSolanaAsset
impl Clone for WalletSolanaAsset
Source§fn clone(&self) -> WalletSolanaAsset
fn clone(&self) -> WalletSolanaAsset
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 WalletSolanaAsset
Source§impl Debug for WalletSolanaAsset
impl Debug for WalletSolanaAsset
Source§impl<'de> Deserialize<'de> for WalletSolanaAsset
impl<'de> Deserialize<'de> for WalletSolanaAsset
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 WalletSolanaAsset
impl Display for WalletSolanaAsset
impl Eq for WalletSolanaAsset
Source§impl From<&WalletSolanaAsset> for WalletSolanaAsset
impl From<&WalletSolanaAsset> for WalletSolanaAsset
Source§fn from(value: &WalletSolanaAsset) -> Self
fn from(value: &WalletSolanaAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletSolanaAsset> for GetWalletBalanceAsset
impl From<WalletSolanaAsset> for GetWalletBalanceAsset
Source§fn from(value: WalletSolanaAsset) -> Self
fn from(value: WalletSolanaAsset) -> 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.
Source§impl From<WalletSolanaAsset> for TransferReceivedTransactionDetailAsset
impl From<WalletSolanaAsset> for TransferReceivedTransactionDetailAsset
Source§fn from(value: WalletSolanaAsset) -> Self
fn from(value: WalletSolanaAsset) -> 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.
Source§impl From<WalletSolanaAsset> for WalletAsset
impl From<WalletSolanaAsset> for WalletAsset
Source§fn from(value: WalletSolanaAsset) -> Self
fn from(value: WalletSolanaAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletSolanaAsset> for WalletTransactionsAsset
impl From<WalletSolanaAsset> for WalletTransactionsAsset
Source§fn from(value: WalletSolanaAsset) -> Self
fn from(value: WalletSolanaAsset) -> 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<WalletSolanaAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant2
impl From<WalletSolanaAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant0AssetVariant2
Source§fn from(value: WalletSolanaAsset) -> Self
fn from(value: WalletSolanaAsset) -> Self
Converts to this type from the input type.
Source§impl From<WalletSolanaAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant1AssetVariant1
impl From<WalletSolanaAsset> for WalletTransactionsResponseTransactionsItemDetailsVariant1AssetVariant1
Source§fn from(value: WalletSolanaAsset) -> Self
fn from(value: WalletSolanaAsset) -> 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 FromStr for WalletSolanaAsset
impl FromStr for WalletSolanaAsset
Source§impl Hash for WalletSolanaAsset
impl Hash for WalletSolanaAsset
Source§impl Ord for WalletSolanaAsset
impl Ord for WalletSolanaAsset
Source§fn cmp(&self, other: &WalletSolanaAsset) -> Ordering
fn cmp(&self, other: &WalletSolanaAsset) -> 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 WalletSolanaAsset
impl PartialEq for WalletSolanaAsset
Source§fn eq(&self, other: &WalletSolanaAsset) -> bool
fn eq(&self, other: &WalletSolanaAsset) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WalletSolanaAsset
impl PartialOrd for WalletSolanaAsset
Source§impl Serialize for WalletSolanaAsset
impl Serialize for WalletSolanaAsset
impl StructuralPartialEq for WalletSolanaAsset
Source§impl TryFrom<&String> for WalletSolanaAsset
impl TryFrom<&String> for WalletSolanaAsset
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for WalletSolanaAsset
impl TryFrom<&str> for WalletSolanaAsset
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for WalletSolanaAsset
impl TryFrom<String> for WalletSolanaAsset
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for WalletSolanaAsset
impl RefUnwindSafe for WalletSolanaAsset
impl Send for WalletSolanaAsset
impl Sync for WalletSolanaAsset
impl Unpin for WalletSolanaAsset
impl UnsafeUnpin for WalletSolanaAsset
impl UnwindSafe for WalletSolanaAsset
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