Struct astrolab_smart_coffee_types::digishop::menu::create_product_inventory::CreateProductInventoryBody [−][src]
pub struct CreateProductInventoryBody { pub product: String, pub variant: Option<String>, pub kind: Option<String>, pub price: Option<ProductInventoryPriceBody>, pub quantity: Option<f64>, pub barcode: Option<String>, pub sku: Option<String>, pub acquisition_date: Option<DateTime<Utc>>, pub sites: Option<Vec<ProductInventorySiteBody>>, }
Fields
product: String
variant: Option<String>
kind: Option<String>
price: Option<ProductInventoryPriceBody>
quantity: Option<f64>
barcode: Option<String>
sku: Option<String>
acquisition_date: Option<DateTime<Utc>>
sites: Option<Vec<ProductInventorySiteBody>>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreateProductInventoryBody
impl Send for CreateProductInventoryBody
impl Sync for CreateProductInventoryBody
impl Unpin for CreateProductInventoryBody
impl UnwindSafe for CreateProductInventoryBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V