pub struct SourceRedirectFlow {
pub failure_reason: Option<String>,
pub return_url: String,
pub status: String,
pub url: String,
}
Fields§
§failure_reason: Option<String>
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: String
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§
Source§impl Clone for SourceRedirectFlow
impl Clone for SourceRedirectFlow
Source§fn clone(&self) -> SourceRedirectFlow
fn clone(&self) -> SourceRedirectFlow
Returns a duplicate 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 SourceRedirectFlow
impl Debug for SourceRedirectFlow
Source§impl Deserialize for SourceRedirectFlow
impl Deserialize for SourceRedirectFlow
Source§impl FromValueOpt for SourceRedirectFlow
impl FromValueOpt for SourceRedirectFlow
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for SourceRedirectFlow
impl RefUnwindSafe for SourceRedirectFlow
impl Send for SourceRedirectFlow
impl Sync for SourceRedirectFlow
impl Unpin for SourceRedirectFlow
impl UnwindSafe for SourceRedirectFlow
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