[][src]Struct stripe::CreateInvoiceLineItem

pub struct CreateInvoiceLineItem<'a> {
    pub amount: Option<i64>,
    pub currency: Option<Currency>,
    pub customer: Option<CustomerId>,
    pub description: Option<&'a str>,
    pub discountable: Option<bool>,
    pub invoice: Option<InvoiceId>,
    pub subscription: Option<bool>,
}

Fields

amount: Option<i64>currency: Option<Currency>customer: Option<CustomerId>description: Option<&'a str>discountable: Option<bool>invoice: Option<InvoiceId>subscription: Option<bool>

Implementations

impl<'_> CreateInvoiceLineItem<'_>[src]

pub fn new() -> Self[src]

Trait Implementations

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

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

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

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

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

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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.