#[non_exhaustive]pub enum PaymentMethodDetailsCardPresentReceiptAccountType {
Checking,
Credit,
Prepaid,
Unknown,
_Unknown(String),
}Expand description
The type of account being debited or credited
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.
Checking
Credit
Prepaid
Unknown
_Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter. This variant is prefixed with an underscore to avoid conflicts with Stripe’s ‘Unknown’ variant.
Implementations§
Trait Implementations§
Source§impl Clone for PaymentMethodDetailsCardPresentReceiptAccountType
impl Clone for PaymentMethodDetailsCardPresentReceiptAccountType
Source§fn clone(&self) -> PaymentMethodDetailsCardPresentReceiptAccountType
fn clone(&self) -> PaymentMethodDetailsCardPresentReceiptAccountType
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 FromValueOpt for PaymentMethodDetailsCardPresentReceiptAccountType
impl FromValueOpt for PaymentMethodDetailsCardPresentReceiptAccountType
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentMethodDetailsCardPresentReceiptAccountType
impl PartialEq for PaymentMethodDetailsCardPresentReceiptAccountType
Source§fn eq(&self, other: &PaymentMethodDetailsCardPresentReceiptAccountType) -> bool
fn eq(&self, other: &PaymentMethodDetailsCardPresentReceiptAccountType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentMethodDetailsCardPresentReceiptAccountType
impl StructuralPartialEq for PaymentMethodDetailsCardPresentReceiptAccountType
Auto Trait Implementations§
impl Freeze for PaymentMethodDetailsCardPresentReceiptAccountType
impl RefUnwindSafe for PaymentMethodDetailsCardPresentReceiptAccountType
impl Send for PaymentMethodDetailsCardPresentReceiptAccountType
impl Sync for PaymentMethodDetailsCardPresentReceiptAccountType
impl Unpin for PaymentMethodDetailsCardPresentReceiptAccountType
impl UnwindSafe for PaymentMethodDetailsCardPresentReceiptAccountType
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