[−][src]Struct stripe::Inventory
Fields
quantity: Option<u64>
The count of inventory available.
Will be present if and only if type
is finite
.
type_: String
Inventory type.
Possible values are finite
, bucket
(not quantified), and infinite
.
value: Option<String>
An indicator of the inventory available.
Possible values are in_stock
, limited
, and out_of_stock
.
Will be present if and only if type
is bucket
.
Trait Implementations
impl Clone for Inventory
[src][+]
impl Debug for Inventory
[src][+]
impl<'de> Deserialize<'de> for Inventory
[src][+]
impl Serialize for Inventory
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for Inventory
impl Send for Inventory
impl Sync for Inventory
impl Unpin for Inventory
impl UnwindSafe for Inventory
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,