pub enum GetWalletBalanceIncludeCurrency {
Eur,
Usd,
}Expand description
If set, balances are converted to the specified fiat currency. Not
supported when token is provided.
JSON schema
{
"description": "If set, balances are converted to the specified fiat
currency. Not supported when `token` is provided.",
"type": "string",
"enum": [
"eur",
"usd"
]
}Variants§
Trait Implementations§
Source§impl Clone for GetWalletBalanceIncludeCurrency
impl Clone for GetWalletBalanceIncludeCurrency
Source§fn clone(&self) -> GetWalletBalanceIncludeCurrency
fn clone(&self) -> GetWalletBalanceIncludeCurrency
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 GetWalletBalanceIncludeCurrency
Source§impl<'de> Deserialize<'de> for GetWalletBalanceIncludeCurrency
impl<'de> Deserialize<'de> for GetWalletBalanceIncludeCurrency
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
impl Eq for GetWalletBalanceIncludeCurrency
Source§impl From<&GetWalletBalanceIncludeCurrency> for GetWalletBalanceIncludeCurrency
impl From<&GetWalletBalanceIncludeCurrency> for GetWalletBalanceIncludeCurrency
Source§fn from(value: &GetWalletBalanceIncludeCurrency) -> Self
fn from(value: &GetWalletBalanceIncludeCurrency) -> Self
Converts to this type from the input type.
Source§impl Ord for GetWalletBalanceIncludeCurrency
impl Ord for GetWalletBalanceIncludeCurrency
Source§fn cmp(&self, other: &GetWalletBalanceIncludeCurrency) -> Ordering
fn cmp(&self, other: &GetWalletBalanceIncludeCurrency) -> 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 GetWalletBalanceIncludeCurrency
impl PartialEq for GetWalletBalanceIncludeCurrency
Source§fn eq(&self, other: &GetWalletBalanceIncludeCurrency) -> bool
fn eq(&self, other: &GetWalletBalanceIncludeCurrency) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GetWalletBalanceIncludeCurrency
impl PartialOrd for GetWalletBalanceIncludeCurrency
impl StructuralPartialEq for GetWalletBalanceIncludeCurrency
Source§impl TryFrom<&String> for GetWalletBalanceIncludeCurrency
impl TryFrom<&String> for GetWalletBalanceIncludeCurrency
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for GetWalletBalanceIncludeCurrency
impl TryFrom<&str> for GetWalletBalanceIncludeCurrency
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for GetWalletBalanceIncludeCurrency
impl TryFrom<String> for GetWalletBalanceIncludeCurrency
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for GetWalletBalanceIncludeCurrency
impl RefUnwindSafe for GetWalletBalanceIncludeCurrency
impl Send for GetWalletBalanceIncludeCurrency
impl Sync for GetWalletBalanceIncludeCurrency
impl Unpin for GetWalletBalanceIncludeCurrency
impl UnsafeUnpin for GetWalletBalanceIncludeCurrency
impl UnwindSafe for GetWalletBalanceIncludeCurrency
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