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