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