#[non_exhaustive]pub enum CustomerAcceptanceType {
Offline,
Online,
Unknown(String),
}Expand description
The mandate includes the type of customer acceptance information, such as: online or offline.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Offline
Online
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for CustomerAcceptanceType
impl Clone for CustomerAcceptanceType
Source§fn clone(&self) -> CustomerAcceptanceType
fn clone(&self) -> CustomerAcceptanceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CustomerAcceptanceType
Available on non-crate feature redact-generated-debug only.
impl Debug for CustomerAcceptanceType
Available on non-crate feature
redact-generated-debug only.Source§impl Deserialize for CustomerAcceptanceType
impl Deserialize for CustomerAcceptanceType
Source§impl Display for CustomerAcceptanceType
impl Display for CustomerAcceptanceType
Source§impl FromStr for CustomerAcceptanceType
impl FromStr for CustomerAcceptanceType
Source§impl FromValueOpt for CustomerAcceptanceType
impl FromValueOpt for CustomerAcceptanceType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for CustomerAcceptanceType
impl PartialEq for CustomerAcceptanceType
Source§fn eq(&self, other: &CustomerAcceptanceType) -> bool
fn eq(&self, other: &CustomerAcceptanceType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CustomerAcceptanceType
impl StructuralPartialEq for CustomerAcceptanceType
Auto Trait Implementations§
impl Freeze for CustomerAcceptanceType
impl RefUnwindSafe for CustomerAcceptanceType
impl Send for CustomerAcceptanceType
impl Sync for CustomerAcceptanceType
impl Unpin for CustomerAcceptanceType
impl UnsafeUnpin for CustomerAcceptanceType
impl UnwindSafe for CustomerAcceptanceType
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