pub enum PaymentIntentStatus {
Canceled,
Processing,
RequiresAction,
RequiresCapture,
RequiresConfirmation,
RequiresPaymentMethod,
Succeeded,
}
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§
Canceled
Processing
RequiresAction
RequiresCapture
RequiresConfirmation
RequiresPaymentMethod
Succeeded
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§type Err = StripeParseError
type Err = StripeParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<PaymentIntentStatus, <PaymentIntentStatus as FromStr>::Err>
fn from_str( s: &str, ) -> Result<PaymentIntentStatus, <PaymentIntentStatus as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl PartialEq for PaymentIntentStatus
impl PartialEq for PaymentIntentStatus
impl Copy 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