pub enum PaymentStatus {
Pending,
Processing,
Completed,
Failed,
Canceled,
Returned,
}Expand description
Payment lifecycle status.
Variants§
Pending
Payment has been created but not completed.
Processing
Payment is processing.
Completed
Payment has completed.
Failed
Payment failed.
Canceled
Payment was canceled.
Returned
Payment was returned.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PaymentStatus
Source§impl Debug for PaymentStatus
impl Debug for PaymentStatus
impl Eq for PaymentStatus
Source§impl Hash for PaymentStatus
impl Hash for PaymentStatus
Source§impl Ord for PaymentStatus
impl Ord for PaymentStatus
Source§fn cmp(&self, other: &PaymentStatus) -> Ordering
fn cmp(&self, other: &PaymentStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PaymentStatus
impl PartialEq for PaymentStatus
Source§fn eq(&self, other: &PaymentStatus) -> bool
fn eq(&self, other: &PaymentStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PaymentStatus
impl PartialOrd 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