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