pub enum FiatCurrency {
Eur,
Usd,
}Expand description
Supported fiat currencies.
JSON schema
{
"title": "FiatCurrency",
"description": "Supported fiat currencies.",
"type": "string",
"enum": [
"eur",
"usd"
],
"x-stainless-model": "fiat.fiat_currency"
}Variants§
Trait Implementations§
Source§impl Clone for FiatCurrency
impl Clone for FiatCurrency
Source§fn clone(&self) -> FiatCurrency
fn clone(&self) -> FiatCurrency
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 FiatCurrency
Source§impl Debug for FiatCurrency
impl Debug for FiatCurrency
Source§impl<'de> Deserialize<'de> for FiatCurrency
impl<'de> Deserialize<'de> for FiatCurrency
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 FiatCurrency
impl Display for FiatCurrency
impl Eq for FiatCurrency
Source§impl From<&FiatCurrency> for FiatCurrency
impl From<&FiatCurrency> for FiatCurrency
Source§fn from(value: &FiatCurrency) -> Self
fn from(value: &FiatCurrency) -> Self
Converts to this type from the input type.
Source§impl FromStr for FiatCurrency
impl FromStr for FiatCurrency
Source§impl Hash for FiatCurrency
impl Hash for FiatCurrency
Source§impl Ord for FiatCurrency
impl Ord for FiatCurrency
Source§fn cmp(&self, other: &FiatCurrency) -> Ordering
fn cmp(&self, other: &FiatCurrency) -> 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 FiatCurrency
impl PartialEq for FiatCurrency
Source§fn eq(&self, other: &FiatCurrency) -> bool
fn eq(&self, other: &FiatCurrency) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FiatCurrency
impl PartialOrd for FiatCurrency
Source§impl Serialize for FiatCurrency
impl Serialize for FiatCurrency
impl StructuralPartialEq for FiatCurrency
Source§impl TryFrom<&String> for FiatCurrency
impl TryFrom<&String> for FiatCurrency
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for FiatCurrency
impl TryFrom<&str> for FiatCurrency
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for FiatCurrency
impl TryFrom<String> for FiatCurrency
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for FiatCurrency
impl RefUnwindSafe for FiatCurrency
impl Send for FiatCurrency
impl Sync for FiatCurrency
impl Unpin for FiatCurrency
impl UnsafeUnpin for FiatCurrency
impl UnwindSafe for FiatCurrency
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