Enum mpesa::TransactionType
source · pub enum TransactionType {
SendMoney,
Withdraw,
BG,
PayBill,
SendBusiness,
}
Variants§
SendMoney
Send Money(Mobile number).
Withdraw
Withdraw Cash at Agent Till
BG
Pay Merchant (Buy Goods)
PayBill
Paybill or Business number
SendBusiness
Sent to Business. Business number CPI in MSISDN format.
Trait Implementations§
source§impl Clone for TransactionType
impl Clone for TransactionType
source§fn clone(&self) -> TransactionType
fn clone(&self) -> TransactionType
Returns a copy 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 TransactionType
impl Debug for TransactionType
source§impl Display for TransactionType
impl Display for TransactionType
source§impl Serialize for TransactionType
impl Serialize for TransactionType
source§impl TryFrom<&str> for TransactionType
impl TryFrom<&str> for TransactionType
impl Copy for TransactionType
Auto Trait Implementations§
impl RefUnwindSafe for TransactionType
impl Send for TransactionType
impl Sync for TransactionType
impl Unpin for TransactionType
impl UnwindSafe for TransactionType
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