pub enum GetWalletBalanceChain {
String(GetWalletBalanceChainString),
Array(Vec<GetWalletBalanceChainArrayItem>),
}Expand description
GetWalletBalanceChain
JSON schema
{
"oneOf": [
{
"type": "string",
"enum": [
"arbitrum",
"arbitrum_sepolia",
"base",
"base_sepolia",
"ethereum",
"linea",
"linea_testnet",
"optimism",
"optimism_sepolia",
"polygon",
"polygon_amoy",
"sepolia",
"solana",
"solana_devnet",
"solana_testnet",
"zksync_era"
]
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"arbitrum",
"arbitrum_sepolia",
"base",
"base_sepolia",
"ethereum",
"linea",
"linea_testnet",
"optimism",
"optimism_sepolia",
"polygon",
"polygon_amoy",
"sepolia",
"solana",
"solana_devnet",
"solana_testnet",
"zksync_era"
]
},
"maxItems": 10
}
]
}Variants§
String(GetWalletBalanceChainString)
Array(Vec<GetWalletBalanceChainArrayItem>)
Trait Implementations§
Source§impl Clone for GetWalletBalanceChain
impl Clone for GetWalletBalanceChain
Source§fn clone(&self) -> GetWalletBalanceChain
fn clone(&self) -> GetWalletBalanceChain
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetWalletBalanceChain
impl Debug for GetWalletBalanceChain
Source§impl<'de> Deserialize<'de> for GetWalletBalanceChain
impl<'de> Deserialize<'de> for GetWalletBalanceChain
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<&GetWalletBalanceChain> for GetWalletBalanceChain
impl From<&GetWalletBalanceChain> for GetWalletBalanceChain
Source§fn from(value: &GetWalletBalanceChain) -> Self
fn from(value: &GetWalletBalanceChain) -> Self
Converts to this type from the input type.
Source§impl From<GetWalletBalanceChainString> for GetWalletBalanceChain
impl From<GetWalletBalanceChainString> for GetWalletBalanceChain
Source§fn from(value: GetWalletBalanceChainString) -> Self
fn from(value: GetWalletBalanceChainString) -> Self
Converts to this type from the input type.
Source§impl From<Vec<GetWalletBalanceChainArrayItem>> for GetWalletBalanceChain
impl From<Vec<GetWalletBalanceChainArrayItem>> for GetWalletBalanceChain
Source§fn from(value: Vec<GetWalletBalanceChainArrayItem>) -> Self
fn from(value: Vec<GetWalletBalanceChainArrayItem>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetWalletBalanceChain
impl RefUnwindSafe for GetWalletBalanceChain
impl Send for GetWalletBalanceChain
impl Sync for GetWalletBalanceChain
impl Unpin for GetWalletBalanceChain
impl UnwindSafe for GetWalletBalanceChain
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