pub struct MobileMoneyPaymentMethod {
pub country: CountryCode,
pub phone_number: PhoneNumber,
pub operator: Option<MobileMoneyOperator>,
}Expand description
Mobile Money payment configuration.
Fields§
§country: CountryCodeCountry for the Mobile Money account.
phone_number: PhoneNumberCustomer phone number.
operator: Option<MobileMoneyOperator>Optional operator hint.
Trait Implementations§
Source§impl Clone for MobileMoneyPaymentMethod
impl Clone for MobileMoneyPaymentMethod
Source§fn clone(&self) -> MobileMoneyPaymentMethod
fn clone(&self) -> MobileMoneyPaymentMethod
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 moreSource§impl Debug for MobileMoneyPaymentMethod
impl Debug for MobileMoneyPaymentMethod
Source§impl PartialEq for MobileMoneyPaymentMethod
impl PartialEq for MobileMoneyPaymentMethod
Source§fn eq(&self, other: &MobileMoneyPaymentMethod) -> bool
fn eq(&self, other: &MobileMoneyPaymentMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MobileMoneyPaymentMethod
impl StructuralPartialEq for MobileMoneyPaymentMethod
Auto Trait Implementations§
impl Freeze for MobileMoneyPaymentMethod
impl RefUnwindSafe for MobileMoneyPaymentMethod
impl Send for MobileMoneyPaymentMethod
impl Sync for MobileMoneyPaymentMethod
impl Unpin for MobileMoneyPaymentMethod
impl UnsafeUnpin for MobileMoneyPaymentMethod
impl UnwindSafe for MobileMoneyPaymentMethod
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