pub enum ChargeStatus {
Pending,
Paid,
Expired,
Cancelled,
Failed,
}Expand description
Where a charge is in its life.
Variants§
Pending
Created, and the customer has not paid yet.
Paid
The gateway has the money.
Expired
The customer did not pay in time.
Cancelled
The application cancelled it before it was paid.
Failed
The gateway could not complete it.
Implementations§
Trait Implementations§
Source§impl Clone for ChargeStatus
impl Clone for ChargeStatus
impl Copy for ChargeStatus
Source§impl Debug for ChargeStatus
impl Debug for ChargeStatus
impl Eq for ChargeStatus
Source§impl Hash for ChargeStatus
impl Hash for ChargeStatus
Source§impl PartialEq for ChargeStatus
impl PartialEq for ChargeStatus
impl StructuralPartialEq for ChargeStatus
Auto Trait Implementations§
impl Freeze for ChargeStatus
impl RefUnwindSafe for ChargeStatus
impl Send for ChargeStatus
impl Sync for ChargeStatus
impl Unpin for ChargeStatus
impl UnsafeUnpin for ChargeStatus
impl UnwindSafe for ChargeStatus
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