[][src]Struct paypal::Payer

pub struct Payer {
    pub payment_method: PaymentMethod,
    pub status: Option<PayerStatus>,
    pub funding_instruments: Option<Vec<FundingInstrument>>,
}

A paypal account that can be charged.

Fields

payment_method: PaymentMethod

The payment method.

status: Option<PayerStatus>

The status of payer's PayPal account

funding_instruments: Option<Vec<FundingInstrument>>

An array of a single funding instrument for the current payment. Valid only and required for the credit card payment method. The array must include either a credit_card or credit_card_token object. If the array contains more than one instrument, the payment is declined.

Trait Implementations

impl Debug for Payer[src]

impl Serialize for Payer[src]

impl<'de> Deserialize<'de> for Payer[src]

Auto Trait Implementations

impl Sync for Payer

impl Unpin for Payer

impl Send for Payer

impl UnwindSafe for Payer

impl RefUnwindSafe for Payer

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err