pub enum PaymentMethod {
Ach,
Wire,
Card,
Check,
Cash,
BankTransfer,
Other,
}Expand description
Conservative payment method vocabulary.
Variants§
Ach
Automated Clearing House payment.
Wire
Wire transfer.
Card
Card payment.
Check
Check payment.
Cash
Cash payment.
BankTransfer
Bank transfer.
Other
Other payment method.
Trait Implementations§
Source§impl Clone for PaymentMethod
impl Clone for PaymentMethod
Source§fn clone(&self) -> PaymentMethod
fn clone(&self) -> PaymentMethod
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 PaymentMethod
Source§impl Debug for PaymentMethod
impl Debug for PaymentMethod
impl Eq for PaymentMethod
Source§impl Hash for PaymentMethod
impl Hash for PaymentMethod
Source§impl Ord for PaymentMethod
impl Ord for PaymentMethod
Source§fn cmp(&self, other: &PaymentMethod) -> Ordering
fn cmp(&self, other: &PaymentMethod) -> 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 PaymentMethod
impl PartialEq for PaymentMethod
Source§fn eq(&self, other: &PaymentMethod) -> bool
fn eq(&self, other: &PaymentMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PaymentMethod
impl PartialOrd for PaymentMethod
impl StructuralPartialEq for PaymentMethod
Auto Trait Implementations§
impl Freeze for PaymentMethod
impl RefUnwindSafe for PaymentMethod
impl Send for PaymentMethod
impl Sync for PaymentMethod
impl Unpin for PaymentMethod
impl UnsafeUnpin for PaymentMethod
impl UnwindSafe for PaymentMethod
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