#[non_exhaustive]pub enum PaymentStatus {
Created,
RequiresAction,
Pending,
Processing,
Authorized,
Succeeded,
Failed,
Cancelled,
Expired,
Refunded,
PartiallyRefunded,
}Expand description
Normalized payment 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.
Created
Created but not started.
RequiresAction
Requires customer or merchant action.
Pending
Pending provider completion.
Processing
Processing asynchronously.
Authorized
Authorized but not captured.
Succeeded
Successfully completed.
Failed
Failed.
Cancelled
Cancelled.
Expired
Expired.
Refunded
Fully refunded.
PartiallyRefunded
Partially refunded.
Trait Implementations§
Source§impl Clone for PaymentStatus
impl Clone for PaymentStatus
Source§fn clone(&self) -> PaymentStatus
fn clone(&self) -> PaymentStatus
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 PaymentStatus
impl Debug for PaymentStatus
Source§impl Hash for PaymentStatus
impl Hash for PaymentStatus
Source§impl PartialEq for PaymentStatus
impl PartialEq for PaymentStatus
impl Copy for PaymentStatus
impl Eq for PaymentStatus
impl StructuralPartialEq for PaymentStatus
Auto Trait Implementations§
impl Freeze for PaymentStatus
impl RefUnwindSafe for PaymentStatus
impl Send for PaymentStatus
impl Sync for PaymentStatus
impl Unpin for PaymentStatus
impl UnsafeUnpin for PaymentStatus
impl UnwindSafe for PaymentStatus
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