pub enum PaymentLinkPaymentMethodCollection {
Always,
IfRequired,
}
Expand description
An enum representing the possible values of an PaymentLink
’s payment_method_collection
field.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for PaymentLinkPaymentMethodCollection
impl Clone for PaymentLinkPaymentMethodCollection
source§fn clone(&self) -> PaymentLinkPaymentMethodCollection
fn clone(&self) -> PaymentLinkPaymentMethodCollection
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<'de> Deserialize<'de> for PaymentLinkPaymentMethodCollection
impl<'de> Deserialize<'de> for PaymentLinkPaymentMethodCollection
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
source§impl PartialEq<PaymentLinkPaymentMethodCollection> for PaymentLinkPaymentMethodCollection
impl PartialEq<PaymentLinkPaymentMethodCollection> for PaymentLinkPaymentMethodCollection
source§fn eq(&self, other: &PaymentLinkPaymentMethodCollection) -> bool
fn eq(&self, other: &PaymentLinkPaymentMethodCollection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PaymentLinkPaymentMethodCollection
impl Eq for PaymentLinkPaymentMethodCollection
impl StructuralEq for PaymentLinkPaymentMethodCollection
impl StructuralPartialEq for PaymentLinkPaymentMethodCollection
Auto Trait Implementations§
impl RefUnwindSafe for PaymentLinkPaymentMethodCollection
impl Send for PaymentLinkPaymentMethodCollection
impl Sync for PaymentLinkPaymentMethodCollection
impl Unpin for PaymentLinkPaymentMethodCollection
impl UnwindSafe for PaymentLinkPaymentMethodCollection
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.