pub enum PaymentLinkPaymentMethodCollection {
Always,
IfRequired,
}
Expand description
Configuration for collecting a payment method during checkout. Defaults to always
.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentLinkPaymentMethodCollection
impl Clone for PaymentLinkPaymentMethodCollection
Source§fn clone(&self) -> PaymentLinkPaymentMethodCollection
fn clone(&self) -> PaymentLinkPaymentMethodCollection
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 FromValueOpt for PaymentLinkPaymentMethodCollection
impl FromValueOpt for PaymentLinkPaymentMethodCollection
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentLinkPaymentMethodCollection
impl PartialEq for PaymentLinkPaymentMethodCollection
Source§fn eq(&self, other: &PaymentLinkPaymentMethodCollection) -> bool
fn eq(&self, other: &PaymentLinkPaymentMethodCollection) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PaymentLinkPaymentMethodCollection
impl Eq for PaymentLinkPaymentMethodCollection
impl StructuralPartialEq for PaymentLinkPaymentMethodCollection
Auto Trait Implementations§
impl Freeze for PaymentLinkPaymentMethodCollection
impl RefUnwindSafe for PaymentLinkPaymentMethodCollection
impl Send for PaymentLinkPaymentMethodCollection
impl Sync for PaymentLinkPaymentMethodCollection
impl Unpin for PaymentLinkPaymentMethodCollection
impl UnwindSafe for PaymentLinkPaymentMethodCollection
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