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