[][src]Struct stripe::Client

pub struct Client { /* fields omitted */ }

Methods

impl Client
[src]

Clones a new client with different params.

This is the recommended way to send requests for many different Stripe accounts or with different Meta, Extra, and Expand params while using the same secret key.

Sets a value for the Stripe-Account header

This is recommended if you are acting as only one Account for the lifetime of the client. Otherwise, prefer client.with(Params{stripe_account: "acct_ABC", ..}).

Trait Implementations

impl Clone for Client
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Client

impl Sync for Client

Blanket Implementations

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

impl<T> From for T
[src]

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

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

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

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

🔬 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> Same for T

Should always be Self

impl<T> Erased for T