Enum square_api_client::models::enums::PaymentStatus
source · [−]pub enum PaymentStatus {
Approved,
Pending,
Completed,
Canceled,
Failed,
}
Expand description
The status of a [Payment]
Variants
Approved
The payment is Approved.
Pending
The payment is Pending.
Completed
The payment is Completed.
Canceled
The payment is Canceled.
Failed
The payment is Failed.
Trait Implementations
sourceimpl Clone for PaymentStatus
impl Clone for PaymentStatus
sourcefn clone(&self) -> PaymentStatus
fn clone(&self) -> PaymentStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PaymentStatus
impl Debug for PaymentStatus
sourceimpl<'de> Deserialize<'de> for PaymentStatus
impl<'de> Deserialize<'de> for PaymentStatus
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<PaymentStatus> for PaymentStatus
impl PartialEq<PaymentStatus> for PaymentStatus
sourcefn eq(&self, other: &PaymentStatus) -> bool
fn eq(&self, other: &PaymentStatus) -> bool
sourceimpl Serialize for PaymentStatus
impl Serialize for PaymentStatus
impl Eq for PaymentStatus
impl StructuralEq for PaymentStatus
impl StructuralPartialEq for PaymentStatus
Auto Trait Implementations
impl RefUnwindSafe for PaymentStatus
impl Send for PaymentStatus
impl Sync for PaymentStatus
impl Unpin for PaymentStatus
impl UnwindSafe for PaymentStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.