pub struct OrdersInventory {
pub expiration_date: Option<DateTime<Utc>>,
pub id: i64,
pub is_dangerous_goods: bool,
pub lot: String,
pub name: String,
pub quantity: i64,
pub quantity_committed: i64,
pub serial_numbers: Vec<String>,
}Expand description
Information about inventory belonging to a store product
Fields§
§expiration_date: Option<DateTime<Utc>>Expiration date for this lot
id: i64Information about inventory belonging to a store product
is_dangerous_goods: boolInformation about inventory belonging to a store product
lot: StringName of the channel
name: StringName of the channel
quantity: i64Information about inventory belonging to a store product
quantity_committed: i64Information about inventory belonging to a store product
serial_numbers: Vec<String>Array of permissions granted for the channel
Trait Implementations§
Source§impl Clone for OrdersInventory
impl Clone for OrdersInventory
Source§fn clone(&self) -> OrdersInventory
fn clone(&self) -> OrdersInventory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrdersInventory
impl Debug for OrdersInventory
Source§impl<'de> Deserialize<'de> for OrdersInventory
impl<'de> Deserialize<'de> for OrdersInventory
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 OrdersInventory
impl JsonSchema for OrdersInventory
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 moreSource§impl PartialEq for OrdersInventory
impl PartialEq for OrdersInventory
Source§impl Serialize for OrdersInventory
impl Serialize for OrdersInventory
impl StructuralPartialEq for OrdersInventory
Auto Trait Implementations§
impl Freeze for OrdersInventory
impl RefUnwindSafe for OrdersInventory
impl Send for OrdersInventory
impl Sync for OrdersInventory
impl Unpin for OrdersInventory
impl UnwindSafe for OrdersInventory
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