#[non_exhaustive]pub enum PaymentLinkCustomerCreation {
Always,
IfRequired,
Unknown(String),
}Expand description
Configuration for Customer creation during checkout.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Always
IfRequired
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for PaymentLinkCustomerCreation
impl Clone for PaymentLinkCustomerCreation
Source§fn clone(&self) -> PaymentLinkCustomerCreation
fn clone(&self) -> PaymentLinkCustomerCreation
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 PaymentLinkCustomerCreation
impl Debug for PaymentLinkCustomerCreation
Source§impl FromValueOpt for PaymentLinkCustomerCreation
impl FromValueOpt for PaymentLinkCustomerCreation
fn from_value(v: Value) -> Option<Self>
impl Eq for PaymentLinkCustomerCreation
impl StructuralPartialEq for PaymentLinkCustomerCreation
Auto Trait Implementations§
impl Freeze for PaymentLinkCustomerCreation
impl RefUnwindSafe for PaymentLinkCustomerCreation
impl Send for PaymentLinkCustomerCreation
impl Sync for PaymentLinkCustomerCreation
impl Unpin for PaymentLinkCustomerCreation
impl UnwindSafe for PaymentLinkCustomerCreation
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