#[non_exhaustive]pub enum PaymentIntentStatus {
Canceled,
Processing,
RequiresAction,
RequiresCapture,
RequiresConfirmation,
RequiresPaymentMethod,
Succeeded,
Unknown(String),
}Expand description
Status of this PaymentIntent, one of requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, or succeeded.
Read more about each PaymentIntent status.
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.
Canceled
Processing
RequiresAction
RequiresCapture
RequiresConfirmation
RequiresPaymentMethod
Succeeded
Unknown(String)
An unrecognized value from Stripe. Should not be used as a request parameter.
Implementations§
Trait Implementations§
Source§impl Clone for PaymentIntentStatus
impl Clone for PaymentIntentStatus
Source§fn clone(&self) -> PaymentIntentStatus
fn clone(&self) -> PaymentIntentStatus
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 PaymentIntentStatus
impl Debug for PaymentIntentStatus
Source§impl Deserialize for PaymentIntentStatus
impl Deserialize for PaymentIntentStatus
Source§impl Display for PaymentIntentStatus
impl Display for PaymentIntentStatus
Source§impl FromStr for PaymentIntentStatus
impl FromStr for PaymentIntentStatus
Source§impl FromValueOpt for PaymentIntentStatus
impl FromValueOpt for PaymentIntentStatus
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentIntentStatus
impl PartialEq for PaymentIntentStatus
impl Eq for PaymentIntentStatus
impl StructuralPartialEq for PaymentIntentStatus
Auto Trait Implementations§
impl Freeze for PaymentIntentStatus
impl RefUnwindSafe for PaymentIntentStatus
impl Send for PaymentIntentStatus
impl Sync for PaymentIntentStatus
impl Unpin for PaymentIntentStatus
impl UnwindSafe for PaymentIntentStatus
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