pub enum GetWalletBalanceToken {
String(String),
Array(Vec<String>),
}Expand description
The token contract address(es) to query in format “chain:address” (e.g.,
“base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913” or
“solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v”). Cannot be used
together with asset/chain or with include_currency.
JSON schema
{
"description": "The token contract address(es) to query in format
\"chain:address\" (e.g.,
\"base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\" or
\"solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\"). Cannot be used
together with `asset`/`chain` or with `include_currency`.",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10
}
]
}Variants§
Trait Implementations§
Source§impl Clone for GetWalletBalanceToken
impl Clone for GetWalletBalanceToken
Source§fn clone(&self) -> GetWalletBalanceToken
fn clone(&self) -> GetWalletBalanceToken
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 Debug for GetWalletBalanceToken
impl Debug for GetWalletBalanceToken
Source§impl<'de> Deserialize<'de> for GetWalletBalanceToken
impl<'de> Deserialize<'de> for GetWalletBalanceToken
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<&GetWalletBalanceToken> for GetWalletBalanceToken
impl From<&GetWalletBalanceToken> for GetWalletBalanceToken
Source§fn from(value: &GetWalletBalanceToken) -> Self
fn from(value: &GetWalletBalanceToken) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetWalletBalanceToken
impl RefUnwindSafe for GetWalletBalanceToken
impl Send for GetWalletBalanceToken
impl Sync for GetWalletBalanceToken
impl Unpin for GetWalletBalanceToken
impl UnsafeUnpin for GetWalletBalanceToken
impl UnwindSafe for GetWalletBalanceToken
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