pub enum CheckoutSessionCustomerCreation {
Always,
IfRequired,
}
Expand description
An enum representing the possible values of an CheckoutSession
’s customer_creation
field.
Variants§
Implementations§
Trait Implementations§
source§impl AsRef<str> for CheckoutSessionCustomerCreation
impl AsRef<str> for CheckoutSessionCustomerCreation
source§impl Clone for CheckoutSessionCustomerCreation
impl Clone for CheckoutSessionCustomerCreation
source§fn clone(&self) -> CheckoutSessionCustomerCreation
fn clone(&self) -> CheckoutSessionCustomerCreation
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 CheckoutSessionCustomerCreation
impl<'de> Deserialize<'de> for CheckoutSessionCustomerCreation
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<CheckoutSessionCustomerCreation> for CheckoutSessionCustomerCreation
impl PartialEq<CheckoutSessionCustomerCreation> for CheckoutSessionCustomerCreation
source§fn eq(&self, other: &CheckoutSessionCustomerCreation) -> bool
fn eq(&self, other: &CheckoutSessionCustomerCreation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CheckoutSessionCustomerCreation
impl Eq for CheckoutSessionCustomerCreation
impl StructuralEq for CheckoutSessionCustomerCreation
impl StructuralPartialEq for CheckoutSessionCustomerCreation
Auto Trait Implementations§
impl RefUnwindSafe for CheckoutSessionCustomerCreation
impl Send for CheckoutSessionCustomerCreation
impl Sync for CheckoutSessionCustomerCreation
impl Unpin for CheckoutSessionCustomerCreation
impl UnwindSafe for CheckoutSessionCustomerCreation
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.