#[non_exhaustive]pub enum PaymentMode {
Automatic,
Manual,
Unknown(String),
}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.
Automatic
automatic
Manual
manual
Unknown(String)
A value this version of the client does not know, kept as received.
Implementations§
Trait Implementations§
Source§impl Clone for PaymentMode
impl Clone for PaymentMode
Source§impl Debug for PaymentMode
impl Debug for PaymentMode
Source§impl<'de> Deserialize<'de> for PaymentMode
impl<'de> Deserialize<'de> for PaymentMode
Source§fn 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
Source§impl Display for PaymentMode
impl Display for PaymentMode
impl Eq for PaymentMode
Source§impl PartialEq for PaymentMode
impl PartialEq for PaymentMode
Source§impl Serialize for PaymentMode
impl Serialize for PaymentMode
impl StructuralPartialEq for PaymentMode
Auto Trait Implementations§
impl Freeze for PaymentMode
impl RefUnwindSafe for PaymentMode
impl Send for PaymentMode
impl Sync for PaymentMode
impl Unpin for PaymentMode
impl UnsafeUnpin for PaymentMode
impl UnwindSafe for PaymentMode
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