#[non_exhaustive]pub enum MobileMoneyOperator {
Mtn,
Airtel,
Zamtel,
Mpesa,
Orange,
Other(String),
}Expand description
Mobile Money operator.
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.
Mtn
MTN.
Airtel
Airtel.
Zamtel
Zamtel.
Mpesa
M-Pesa.
Orange
Orange Money.
Other(String)
Other operator.
Trait Implementations§
Source§impl Clone for MobileMoneyOperator
impl Clone for MobileMoneyOperator
Source§fn clone(&self) -> MobileMoneyOperator
fn clone(&self) -> MobileMoneyOperator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MobileMoneyOperator
impl Debug for MobileMoneyOperator
Source§impl PartialEq for MobileMoneyOperator
impl PartialEq for MobileMoneyOperator
impl Eq for MobileMoneyOperator
impl StructuralPartialEq for MobileMoneyOperator
Auto Trait Implementations§
impl Freeze for MobileMoneyOperator
impl RefUnwindSafe for MobileMoneyOperator
impl Send for MobileMoneyOperator
impl Sync for MobileMoneyOperator
impl Unpin for MobileMoneyOperator
impl UnsafeUnpin for MobileMoneyOperator
impl UnwindSafe for MobileMoneyOperator
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