[][src]Struct stripe::PaymentError

pub struct PaymentError {
    pub payment_error_type: PaymentErrorType,
    pub charge: Option<String>,
    pub code: Option<String>,
    pub decline_code: Option<String>,
    pub doc_url: Option<String>,
    pub message: Option<String>,
    pub param: Option<String>,
    pub source: Option<Expandable<PaymentSource>>,
}

The resource representing a Stripe PaymentError object.

For more details see https://stripe.com/docs/api/payment_intents/object#payment_intent_object-last_payment_error.

Fields

payment_error_type: PaymentErrorTypecharge: Option<String>code: Option<String>decline_code: Option<String>doc_url: Option<String>message: Option<String>param: Option<String>source: Option<Expandable<PaymentSource>>

Trait Implementations

impl Clone for PaymentError[src]

impl Debug for PaymentError[src]

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

impl Serialize for PaymentError[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: Deserialize<'de>, 
[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, 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.