pub struct UpdatePaymentLinkAfterCompletionRedirect {
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 UpdatePaymentLinkAfterCompletionRedirect
impl Clone for UpdatePaymentLinkAfterCompletionRedirect
source§fn clone(&self) -> UpdatePaymentLinkAfterCompletionRedirect
fn clone(&self) -> UpdatePaymentLinkAfterCompletionRedirect
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 UpdatePaymentLinkAfterCompletionRedirect
impl Default for UpdatePaymentLinkAfterCompletionRedirect
source§fn default() -> UpdatePaymentLinkAfterCompletionRedirect
fn default() -> UpdatePaymentLinkAfterCompletionRedirect
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdatePaymentLinkAfterCompletionRedirect
impl<'de> Deserialize<'de> for UpdatePaymentLinkAfterCompletionRedirect
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 UpdatePaymentLinkAfterCompletionRedirect
impl RefUnwindSafe for UpdatePaymentLinkAfterCompletionRedirect
impl Send for UpdatePaymentLinkAfterCompletionRedirect
impl Sync for UpdatePaymentLinkAfterCompletionRedirect
impl Unpin for UpdatePaymentLinkAfterCompletionRedirect
impl UnwindSafe for UpdatePaymentLinkAfterCompletionRedirect
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