[][src]Struct libstripe::resources::core::product::ProductsParam

pub struct ProductsParam<'a> {
    pub id: Option<&'a str>,
    pub name: Option<&'a str>,
    pub product_type: Option<ProductType>,
    pub active: Option<bool>,
    pub attributes: Option<Vec<&'a str>>,
    pub caption: Option<&'a str>,
    pub deactivate_on: Option<Vec<&'a str>>,
    pub description: Option<&'a str>,
    pub images: Option<Vec<&'a str>>,
    pub metadata: Option<HashMap<&'a str, &'a str>>,
    pub package_dimensions: Option<PackageDimensions>,
    pub shippable: Option<bool>,
    pub url: Option<&'a str>,
    pub expand: Option<Vec<&'a str>>,
}

Fields

id: Option<&'a str>name: Option<&'a str>product_type: Option<ProductType>active: Option<bool>attributes: Option<Vec<&'a str>>caption: Option<&'a str>deactivate_on: Option<Vec<&'a str>>description: Option<&'a str>images: Option<Vec<&'a str>>metadata: Option<HashMap<&'a str, &'a str>>package_dimensions: Option<PackageDimensions>shippable: Option<bool>url: Option<&'a str>expand: Option<Vec<&'a str>>

Trait Implementations

impl<'a> PartialEq<ProductsParam<'a>> for ProductsParam<'a>[src]

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

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

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

Auto Trait Implementations

impl<'a> Send for ProductsParam<'a>

impl<'a> Sync for ProductsParam<'a>

Blanket Implementations

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