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
impl Clone for CreateProductInventoryBody
[src]
impl Clone for CreateProductInventoryBody
[src]fn clone(&self) -> CreateProductInventoryBody
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for CreateProductInventoryBody
[src]
impl<'de> Deserialize<'de> for CreateProductInventoryBody
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for CreateProductInventoryBody
[src]
impl Serialize for CreateProductInventoryBody
[src]impl Validate for CreateProductInventoryBody
[src]
impl Validate for CreateProductInventoryBody
[src]fn validate(&self) -> Result<(), ValidationErrors>
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateProductInventoryBody
impl RefUnwindSafe for CreateProductInventoryBody
impl Send for CreateProductInventoryBody
impl Send for CreateProductInventoryBody
impl Sync for CreateProductInventoryBody
impl Sync for CreateProductInventoryBody
impl Unpin for CreateProductInventoryBody
impl Unpin for CreateProductInventoryBody
impl UnwindSafe for CreateProductInventoryBody
impl UnwindSafe for CreateProductInventoryBody
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,