Enum stripe::PaymentIntentMethodType
source · pub enum PaymentIntentMethodType {
Card,
Ideal,
SepaDebit,
}Expand description
Represents the way a PaymentIntent needs to be fulfilled.
Variants§
Card
This PaymentIntent needs to be fulfilled through credit card payment.
Ideal
This PaymentIntent needs to be fulfilled through an
iDeal payment.
SepaDebit
This PaymentIntent needs to be fulfilled through a
Sepa Direct Debit payment.
Trait Implementations§
source§impl Clone for PaymentIntentMethodType
impl Clone for PaymentIntentMethodType
source§fn clone(&self) -> PaymentIntentMethodType
fn clone(&self) -> PaymentIntentMethodType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PaymentIntentMethodType
impl Debug for PaymentIntentMethodType
source§impl<'de> Deserialize<'de> for PaymentIntentMethodType
impl<'de> Deserialize<'de> for PaymentIntentMethodType
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 PartialEq for PaymentIntentMethodType
impl PartialEq for PaymentIntentMethodType
source§fn eq(&self, other: &PaymentIntentMethodType) -> bool
fn eq(&self, other: &PaymentIntentMethodType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PaymentIntentMethodType
impl Serialize for PaymentIntentMethodType
impl Eq for PaymentIntentMethodType
impl StructuralPartialEq for PaymentIntentMethodType
Auto Trait Implementations§
impl RefUnwindSafe for PaymentIntentMethodType
impl Send for PaymentIntentMethodType
impl Sync for PaymentIntentMethodType
impl Unpin for PaymentIntentMethodType
impl UnwindSafe for PaymentIntentMethodType
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.