[][src]Struct stripe::SourceRedirectFlow

pub struct SourceRedirectFlow {
    pub failure_reason: Option<SourceRedirectFlowFailureReason>,
    pub return_url: String,
    pub status: SourceRedirectFlowStatus,
    pub url: String,
}

Fields

failure_reason: Option<SourceRedirectFlowFailureReason>

The failure reason for the redirect, either user_abort (the customer aborted or dropped out of the redirect flow), declined (the authentication failed or the transaction was declined), or processing_error (the redirect failed due to a technical error).

Present only if the redirect status is failed.

return_url: String

The URL you provide to redirect the customer to after they authenticated their payment.

status: SourceRedirectFlowStatus

The status of the redirect, either pending (ready to be used by your customer to authenticate the transaction), succeeded (succesful authentication, cannot be reused) or not_required (redirect should not be used) or failed (failed authentication, cannot be reused).

url: String

The URL provided to you to redirect a customer to as part of a redirect authentication flow.

Trait Implementations

impl Clone for SourceRedirectFlow[src]

impl Debug for SourceRedirectFlow[src]

impl Serialize for SourceRedirectFlow[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[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.

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

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Same<T> for T

type Output = T

Should always be Self