pub struct PaymentMethodPaypal {
pub country: Option<String>,
pub payer_email: Option<String>,
pub payer_id: Option<String>,
}Fields§
§country: Option<String>Two-letter ISO code representing the buyer’s country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
payer_email: Option<String>Owner’s email. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
payer_id: Option<String>PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
Trait Implementations§
Source§impl Clone for PaymentMethodPaypal
impl Clone for PaymentMethodPaypal
Source§fn clone(&self) -> PaymentMethodPaypal
fn clone(&self) -> PaymentMethodPaypal
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 PaymentMethodPaypal
impl Debug for PaymentMethodPaypal
Source§impl Deserialize for PaymentMethodPaypal
impl Deserialize for PaymentMethodPaypal
Source§impl FromValueOpt for PaymentMethodPaypal
impl FromValueOpt for PaymentMethodPaypal
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentMethodPaypal
impl PartialEq for PaymentMethodPaypal
Source§fn eq(&self, other: &PaymentMethodPaypal) -> bool
fn eq(&self, other: &PaymentMethodPaypal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentMethodPaypal
impl StructuralPartialEq for PaymentMethodPaypal
Auto Trait Implementations§
impl Freeze for PaymentMethodPaypal
impl RefUnwindSafe for PaymentMethodPaypal
impl Send for PaymentMethodPaypal
impl Sync for PaymentMethodPaypal
impl Unpin for PaymentMethodPaypal
impl UnsafeUnpin for PaymentMethodPaypal
impl UnwindSafe for PaymentMethodPaypal
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