[][src]Struct libstripe::resources::paymentmethods::source::SourceParam

pub struct SourceParam<'a> {
    pub source_type: Option<SourceType>,
    pub amount: Option<i32>,
    pub currency: Option<Currency>,
    pub flow: Option<SourceFlow>,
    pub metadata: Option<HashMap<&'a str, &'a str>>,
    pub owner: Option<SourceOwner>,
    pub redirect: Option<SourceRedirectParam<'a>>,
    pub statement_descriptor: Option<&'a str>,
    pub token: Option<&'a str>,
    pub client_secret: Option<&'a str>,
    pub usage: Option<SourceUsage>,
}

Fields

source_type: Option<SourceType>amount: Option<i32>currency: Option<Currency>flow: Option<SourceFlow>metadata: Option<HashMap<&'a str, &'a str>>owner: Option<SourceOwner>redirect: Option<SourceRedirectParam<'a>>statement_descriptor: Option<&'a str>token: Option<&'a str>client_secret: Option<&'a str>usage: Option<SourceUsage>

Trait Implementations

impl<'a> PartialEq<SourceParam<'a>> for SourceParam<'a>[src]

impl<'a> Default for SourceParam<'a>[src]

impl<'a> Debug for SourceParam<'a>[src]

impl<'a> Serialize for SourceParam<'a>[src]

Auto Trait Implementations

impl<'a> Send for SourceParam<'a>

impl<'a> Sync for SourceParam<'a>

Blanket Implementations

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

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Erased for T

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

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