[][src]Struct stripe::SourceParams

pub struct SourceParams<'a> {
    pub source_type: Option<SourceType>,
    pub amount: Option<u64>,
    pub currency: Option<Currency>,
    pub flow: Option<SourceFlow>,
    pub metadata: Option<Metadata>,
    pub owner: Option<OwnerParams<'a>>,
    pub statement_descriptor: Option<&'a str>,
    pub redirect: Option<RedirectParams<'a>>,
    pub token: Option<TokenId>,
    pub usage: Option<SourceUsage>,
}

Fields

source_type: Option<SourceType>amount: Option<u64>currency: Option<Currency>flow: Option<SourceFlow>metadata: Option<Metadata>owner: Option<OwnerParams<'a>>statement_descriptor: Option<&'a str>redirect: Option<RedirectParams<'a>>token: Option<TokenId>usage: Option<SourceUsage>

Trait Implementations

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

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

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

impl<'de: 'a, 'a> Deserialize<'de> for SourceParams<'a>[src]

Auto Trait Implementations

impl<'a> Send for SourceParams<'a>

impl<'a> Sync for SourceParams<'a>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self