pub struct CreatePaymentLinkAfterCompletion {
pub hosted_confirmation: Option<CreatePaymentLinkAfterCompletionHostedConfirmation>,
pub redirect: Option<CreatePaymentLinkAfterCompletionRedirect>,
pub type_: CreatePaymentLinkAfterCompletionType,
}
Fields§
§hosted_confirmation: Option<CreatePaymentLinkAfterCompletionHostedConfirmation>
Configuration when type=hosted_confirmation
.
redirect: Option<CreatePaymentLinkAfterCompletionRedirect>
Configuration when type=redirect
.
type_: CreatePaymentLinkAfterCompletionType
The specified behavior after the purchase is complete.
Either redirect
or hosted_confirmation
.
Trait Implementations§
source§impl Clone for CreatePaymentLinkAfterCompletion
impl Clone for CreatePaymentLinkAfterCompletion
source§fn clone(&self) -> CreatePaymentLinkAfterCompletion
fn clone(&self) -> CreatePaymentLinkAfterCompletion
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 CreatePaymentLinkAfterCompletion
impl Default for CreatePaymentLinkAfterCompletion
source§fn default() -> CreatePaymentLinkAfterCompletion
fn default() -> CreatePaymentLinkAfterCompletion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreatePaymentLinkAfterCompletion
impl<'de> Deserialize<'de> for CreatePaymentLinkAfterCompletion
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 CreatePaymentLinkAfterCompletion
impl Send for CreatePaymentLinkAfterCompletion
impl Sync for CreatePaymentLinkAfterCompletion
impl Unpin for CreatePaymentLinkAfterCompletion
impl UnwindSafe for CreatePaymentLinkAfterCompletion
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