pub enum MoonpayPaymentMethod {
AchBankTransfer,
CreditDebitCard,
GbpBankTransfer,
GbpOpenBankingPayment,
MobileWallet,
PixInstantPayment,
SepaBankTransfer,
SepaOpenBankingPayment,
YellowCardBankTransfer,
}Expand description
A payment method supported by Moonpay on-ramp.
JSON schema
{
"title": "MoonpayPaymentMethod",
"description": "A payment method supported by Moonpay on-ramp.",
"type": "string",
"enum": [
"ach_bank_transfer",
"credit_debit_card",
"gbp_bank_transfer",
"gbp_open_banking_payment",
"mobile_wallet",
"pix_instant_payment",
"sepa_bank_transfer",
"sepa_open_banking_payment",
"yellow_card_bank_transfer"
],
"x-stainless-model": "funding.moonpay_payment_method"
}Variants§
AchBankTransfer
CreditDebitCard
GbpBankTransfer
GbpOpenBankingPayment
MobileWallet
PixInstantPayment
SepaBankTransfer
SepaOpenBankingPayment
YellowCardBankTransfer
Trait Implementations§
Source§impl Clone for MoonpayPaymentMethod
impl Clone for MoonpayPaymentMethod
Source§fn clone(&self) -> MoonpayPaymentMethod
fn clone(&self) -> MoonpayPaymentMethod
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 MoonpayPaymentMethod
Source§impl Debug for MoonpayPaymentMethod
impl Debug for MoonpayPaymentMethod
Source§impl<'de> Deserialize<'de> for MoonpayPaymentMethod
impl<'de> Deserialize<'de> for MoonpayPaymentMethod
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 MoonpayPaymentMethod
impl Display for MoonpayPaymentMethod
impl Eq for MoonpayPaymentMethod
Source§impl From<&MoonpayPaymentMethod> for MoonpayPaymentMethod
impl From<&MoonpayPaymentMethod> for MoonpayPaymentMethod
Source§fn from(value: &MoonpayPaymentMethod) -> Self
fn from(value: &MoonpayPaymentMethod) -> Self
Converts to this type from the input type.
Source§impl FromStr for MoonpayPaymentMethod
impl FromStr for MoonpayPaymentMethod
Source§impl Hash for MoonpayPaymentMethod
impl Hash for MoonpayPaymentMethod
Source§impl Ord for MoonpayPaymentMethod
impl Ord for MoonpayPaymentMethod
Source§fn cmp(&self, other: &MoonpayPaymentMethod) -> Ordering
fn cmp(&self, other: &MoonpayPaymentMethod) -> 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 MoonpayPaymentMethod
impl PartialEq for MoonpayPaymentMethod
Source§fn eq(&self, other: &MoonpayPaymentMethod) -> bool
fn eq(&self, other: &MoonpayPaymentMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MoonpayPaymentMethod
impl PartialOrd for MoonpayPaymentMethod
Source§impl Serialize for MoonpayPaymentMethod
impl Serialize for MoonpayPaymentMethod
impl StructuralPartialEq for MoonpayPaymentMethod
Source§impl TryFrom<&String> for MoonpayPaymentMethod
impl TryFrom<&String> for MoonpayPaymentMethod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for MoonpayPaymentMethod
impl TryFrom<&str> for MoonpayPaymentMethod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for MoonpayPaymentMethod
impl TryFrom<String> for MoonpayPaymentMethod
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for MoonpayPaymentMethod
impl RefUnwindSafe for MoonpayPaymentMethod
impl Send for MoonpayPaymentMethod
impl Sync for MoonpayPaymentMethod
impl Unpin for MoonpayPaymentMethod
impl UnsafeUnpin for MoonpayPaymentMethod
impl UnwindSafe for MoonpayPaymentMethod
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