pub enum CheckoutSessionCustomerCreation {
Always,
IfRequired,
}Available on crate feature
checkout only.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 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<'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 for CheckoutSessionCustomerCreation
impl PartialEq for CheckoutSessionCustomerCreation
Source§fn eq(&self, other: &CheckoutSessionCustomerCreation) -> bool
fn eq(&self, other: &CheckoutSessionCustomerCreation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CheckoutSessionCustomerCreation
impl Eq for CheckoutSessionCustomerCreation
impl StructuralPartialEq for CheckoutSessionCustomerCreation
Auto Trait Implementations§
impl Freeze for CheckoutSessionCustomerCreation
impl RefUnwindSafe for CheckoutSessionCustomerCreation
impl Send for CheckoutSessionCustomerCreation
impl Sync for CheckoutSessionCustomerCreation
impl Unpin for CheckoutSessionCustomerCreation
impl UnwindSafe for CheckoutSessionCustomerCreation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.