[][src]Enum stripe::PaymentMethodType

pub enum PaymentMethodType {
    Card,
    Fpx,
    Ideal,
    SepaDebit,
}

An enum representing the possible values of an PaymentMethod's type field.

Variants

Card

This PaymentMethod must be fulfilled through credit card payment.

Fpx
Ideal

This PaymentMethod must be fulfilled through iDeal.

SepaDebit

This PaymentMethod must be fulfilled through Sepa Direct Debit.

Implementations

impl PaymentMethodType[src]

pub fn as_str(self) -> &'static str[src]

Trait Implementations

impl AsRef<str> for PaymentMethodType[src]

impl Clone for PaymentMethodType[src]

impl Copy for PaymentMethodType[src]

impl Debug for PaymentMethodType[src]

impl<'de> Deserialize<'de> for PaymentMethodType[src]

impl Display for PaymentMethodType[src]

impl Eq for PaymentMethodType[src]

impl PartialEq<PaymentMethodType> for PaymentMethodType[src]

impl Serialize for PaymentMethodType[src]

impl StructuralEq for PaymentMethodType[src]

impl StructuralPartialEq for PaymentMethodType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.