#[non_exhaustive]pub enum PaymentIntentProcessingType {
Card,
Unknown(String),
}Expand description
Type of the payment method for which payment is in processing state, one of card.
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.
Implementations§
Trait Implementations§
Source§impl Clone for PaymentIntentProcessingType
impl Clone for PaymentIntentProcessingType
Source§fn clone(&self) -> PaymentIntentProcessingType
fn clone(&self) -> PaymentIntentProcessingType
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 Debug for PaymentIntentProcessingType
impl Debug for PaymentIntentProcessingType
Source§impl FromStr for PaymentIntentProcessingType
impl FromStr for PaymentIntentProcessingType
Source§type Err = Infallible
type Err = Infallible
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<PaymentIntentProcessingType, <PaymentIntentProcessingType as FromStr>::Err>
fn from_str( s: &str, ) -> Result<PaymentIntentProcessingType, <PaymentIntentProcessingType as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreimpl Eq for PaymentIntentProcessingType
impl StructuralPartialEq for PaymentIntentProcessingType
Auto Trait Implementations§
impl Freeze for PaymentIntentProcessingType
impl RefUnwindSafe for PaymentIntentProcessingType
impl Send for PaymentIntentProcessingType
impl Sync for PaymentIntentProcessingType
impl Unpin for PaymentIntentProcessingType
impl UnwindSafe for PaymentIntentProcessingType
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