pub enum WalletTransactionsToken {
TransactionTokenAddressInput(TransactionTokenAddressInput),
Array(Vec<TransactionTokenAddressInput>),
}Expand description
Exactly one of token or asset is required. Cannot be used together
with asset.
JSON schema
{
"description": "Exactly one of `token` or `asset` is required. Cannot
be used together with `asset`.",
"oneOf": [
{
"$ref": "#/components/schemas/TransactionTokenAddressInput"
},
{
"type": "array",
"items": {
"$ref": "#/components/schemas/TransactionTokenAddressInput"
},
"maxItems": 10
}
]
}Variants§
TransactionTokenAddressInput(TransactionTokenAddressInput)
Array(Vec<TransactionTokenAddressInput>)
Trait Implementations§
Source§impl Clone for WalletTransactionsToken
impl Clone for WalletTransactionsToken
Source§fn clone(&self) -> WalletTransactionsToken
fn clone(&self) -> WalletTransactionsToken
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 WalletTransactionsToken
impl Debug for WalletTransactionsToken
Source§impl<'de> Deserialize<'de> for WalletTransactionsToken
impl<'de> Deserialize<'de> for WalletTransactionsToken
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<&WalletTransactionsToken> for WalletTransactionsToken
impl From<&WalletTransactionsToken> for WalletTransactionsToken
Source§fn from(value: &WalletTransactionsToken) -> Self
fn from(value: &WalletTransactionsToken) -> Self
Converts to this type from the input type.
Source§impl From<TransactionTokenAddressInput> for WalletTransactionsToken
impl From<TransactionTokenAddressInput> for WalletTransactionsToken
Source§fn from(value: TransactionTokenAddressInput) -> Self
fn from(value: TransactionTokenAddressInput) -> Self
Converts to this type from the input type.
Source§impl From<Vec<TransactionTokenAddressInput>> for WalletTransactionsToken
impl From<Vec<TransactionTokenAddressInput>> for WalletTransactionsToken
Source§fn from(value: Vec<TransactionTokenAddressInput>) -> Self
fn from(value: Vec<TransactionTokenAddressInput>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WalletTransactionsToken
impl RefUnwindSafe for WalletTransactionsToken
impl Send for WalletTransactionsToken
impl Sync for WalletTransactionsToken
impl Unpin for WalletTransactionsToken
impl UnsafeUnpin for WalletTransactionsToken
impl UnwindSafe for WalletTransactionsToken
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