pub struct Inventory {Show 18 fields
pub dimensions: Option<InventoryDimension>,
pub fulfillable_quantity_by_fulfillment_center: Vec<InventoryFulfillmentCenterQuantity>,
pub fulfillable_quantity_by_lot: Vec<InventoryLotQuantity>,
pub id: i64,
pub is_active: bool,
pub is_case_pick: bool,
pub is_digital: bool,
pub is_lot: bool,
pub name: String,
pub packaging_attribute: Option<PackagingAttribute>,
pub total_awaiting_quantity: i64,
pub total_backordered_quantity: i64,
pub total_committed_quantity: i64,
pub total_exception_quantity: i64,
pub total_fulfillable_quantity: i64,
pub total_internal_transfer_quantity: i64,
pub total_onhand_quantity: i64,
pub total_sellable_quantity: i64,
}
Expand description
Information about an inventory item
Fields§
§dimensions: Option<InventoryDimension>
Information about an inventory item
fulfillable_quantity_by_fulfillment_center: Vec<InventoryFulfillmentCenterQuantity>
Information about an inventory item
fulfillable_quantity_by_lot: Vec<InventoryLotQuantity>
Information about an inventory item
id: i64
Information about an inventory item
is_active: bool
Information about an inventory item
is_case_pick: bool
Information about an inventory item
is_digital: bool
Information about an inventory item
is_lot: bool
Information about an inventory item
name: String
Name of the channel
packaging_attribute: Option<PackagingAttribute>
Information about an inventory item
total_awaiting_quantity: i64
Information about an inventory item
total_backordered_quantity: i64
Information about an inventory item
total_committed_quantity: i64
Information about an inventory item
total_exception_quantity: i64
Information about an inventory item
total_fulfillable_quantity: i64
Information about an inventory item
total_internal_transfer_quantity: i64
Information about an inventory item
total_onhand_quantity: i64
Information about an inventory item
total_sellable_quantity: i64
Information about an inventory item
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Inventory
impl<'de> Deserialize<'de> for Inventory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Inventory
impl JsonSchema for Inventory
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreimpl StructuralPartialEq for Inventory
Auto Trait Implementations§
impl Freeze for Inventory
impl RefUnwindSafe for Inventory
impl Send for Inventory
impl Sync for Inventory
impl Unpin for Inventory
impl UnwindSafe for Inventory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more