[][src]Struct stripe::UpdateSource

pub struct UpdateSource<'a> {
    pub expand: &'a [&'a str],
    pub mandate: Option<SourceMandateParams>,
    pub metadata: Option<Metadata>,
    pub owner: Option<BillingDetails>,
}

The parameters for Source::update.

Fields

expand: &'a [&'a str]

Specifies which fields in the response should be expanded.

mandate: Option<SourceMandateParams>

Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.

metadata: Option<Metadata>

A set of key-value pairs that you can attach to a source object.

It can be useful for storing additional information about the source in a structured format.

owner: Option<BillingDetails>

Information about the owner of the payment instrument that may be used or required by particular source types.

Methods

impl<'a> UpdateSource<'a>[src]

pub fn new() -> Self[src]

Trait Implementations

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

impl<'a> Clone for UpdateSource<'a>[src]

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

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

Auto Trait Implementations

impl<'a> Unpin for UpdateSource<'a>

impl<'a> Sync for UpdateSource<'a>

impl<'a> Send for UpdateSource<'a>

impl<'a> UnwindSafe for UpdateSource<'a>

impl<'a> RefUnwindSafe for UpdateSource<'a>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> Same<T> for T

type Output = T

Should always be Self