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