Struct libstripe::Sku

source ·
pub struct Sku {
Show 14 fields pub id: String, pub object: Object, pub active: bool, pub attributes: Option<HashMap<String, String>>, pub created: i64, pub currency: Currency, pub image: Option<String>, pub inventory: Inventory, pub livemode: bool, pub metadata: HashMap<String, String>, pub package_dimensions: Option<PackageDimensions>, pub price: i64, pub product: String, pub updated: i64,
}

Fields§

§id: String§object: Object§active: bool§attributes: Option<HashMap<String, String>>§created: i64§currency: Currency§image: Option<String>§inventory: Inventory§livemode: bool§metadata: HashMap<String, String>§package_dimensions: Option<PackageDimensions>§price: i64§product: String§updated: i64

Implementations§

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.