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