pub enum PaymentIntentCancellationReason {
Abandoned,
Automatic,
Duplicate,
Expired,
FailedInvoice,
Fraudulent,
RequestedByCustomer,
VoidInvoice,
}
Expand description
Reason for cancellation of this PaymentIntent, either user-provided (duplicate
, fraudulent
, requested_by_customer
, or abandoned
) or generated by Stripe internally (failed_invoice
, void_invoice
, automatic
, or expired
).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentIntentCancellationReason
impl Clone for PaymentIntentCancellationReason
Source§fn clone(&self) -> PaymentIntentCancellationReason
fn clone(&self) -> PaymentIntentCancellationReason
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 PaymentIntentCancellationReason
impl FromValueOpt for PaymentIntentCancellationReason
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentIntentCancellationReason
impl PartialEq for PaymentIntentCancellationReason
Source§fn eq(&self, other: &PaymentIntentCancellationReason) -> bool
fn eq(&self, other: &PaymentIntentCancellationReason) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for PaymentIntentCancellationReason
impl Eq for PaymentIntentCancellationReason
impl StructuralPartialEq for PaymentIntentCancellationReason
Auto Trait Implementations§
impl Freeze for PaymentIntentCancellationReason
impl RefUnwindSafe for PaymentIntentCancellationReason
impl Send for PaymentIntentCancellationReason
impl Sync for PaymentIntentCancellationReason
impl Unpin for PaymentIntentCancellationReason
impl UnwindSafe for PaymentIntentCancellationReason
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