[][src]Struct stripe::PlanParams

pub struct PlanParams<'a> {
    pub id: Option<&'a str>,
    pub amount: Option<u64>,
    pub currency: Option<Currency>,
    pub interval: Option<&'a str>,
    pub name: Option<&'a str>,
    pub interval_count: Option<u64>,
    pub metadata: Option<Metadata>,
    pub statement_descriptor: Option<&'a str>,
    pub trial_period_days: Option<u64>,
}

The set of parameters that can be used when creating or updating a plan.

For more details see https://stripe.com/docs/api#create_plan and https://stripe.com/docs/api#update_plan.

Fields

Trait Implementations

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

Performs copy-assignment from source. Read more

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

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

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

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

Auto Trait Implementations

impl<'a> Send for PlanParams<'a>

impl<'a> Sync for PlanParams<'a>

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[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> Any for T where
    T: 'static + ?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> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Same for T

Should always be Self

impl<T> Erased for T