pub struct CreatePaymentLinkAfterCompletionRedirect {
pub url: String,
}
Fields§
§url: String
The URL the customer will be redirected to after the purchase is complete.
You can embed {CHECKOUT_SESSION_ID}
into the URL to have the id
of the completed checkout session included.
Trait Implementations§
source§impl Clone for CreatePaymentLinkAfterCompletionRedirect
impl Clone for CreatePaymentLinkAfterCompletionRedirect
source§fn clone(&self) -> CreatePaymentLinkAfterCompletionRedirect
fn clone(&self) -> CreatePaymentLinkAfterCompletionRedirect
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 CreatePaymentLinkAfterCompletionRedirect
impl Default for CreatePaymentLinkAfterCompletionRedirect
source§fn default() -> CreatePaymentLinkAfterCompletionRedirect
fn default() -> CreatePaymentLinkAfterCompletionRedirect
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreatePaymentLinkAfterCompletionRedirect
impl<'de> Deserialize<'de> for CreatePaymentLinkAfterCompletionRedirect
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 Freeze for CreatePaymentLinkAfterCompletionRedirect
impl RefUnwindSafe for CreatePaymentLinkAfterCompletionRedirect
impl Send for CreatePaymentLinkAfterCompletionRedirect
impl Sync for CreatePaymentLinkAfterCompletionRedirect
impl Unpin for CreatePaymentLinkAfterCompletionRedirect
impl UnwindSafe for CreatePaymentLinkAfterCompletionRedirect
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