pub struct PaymentIntentNextActionRedirectToUrl {
pub return_url: Option<String>,
pub url: Option<String>,
}
Fields§
§return_url: Option<String>
If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.
url: Option<String>
The URL you must redirect your customer to in order to authenticate the payment.
Trait Implementations§
source§impl Clone for PaymentIntentNextActionRedirectToUrl
impl Clone for PaymentIntentNextActionRedirectToUrl
source§fn clone(&self) -> PaymentIntentNextActionRedirectToUrl
fn clone(&self) -> PaymentIntentNextActionRedirectToUrl
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 Default for PaymentIntentNextActionRedirectToUrl
impl Default for PaymentIntentNextActionRedirectToUrl
source§fn default() -> PaymentIntentNextActionRedirectToUrl
fn default() -> PaymentIntentNextActionRedirectToUrl
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentIntentNextActionRedirectToUrl
impl<'de> Deserialize<'de> for PaymentIntentNextActionRedirectToUrl
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
Auto Trait Implementations§
impl RefUnwindSafe for PaymentIntentNextActionRedirectToUrl
impl Send for PaymentIntentNextActionRedirectToUrl
impl Sync for PaymentIntentNextActionRedirectToUrl
impl Unpin for PaymentIntentNextActionRedirectToUrl
impl UnwindSafe for PaymentIntentNextActionRedirectToUrl
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