Struct astrolab_smart_coffee_types::menu::create_category_product::CreateCategoryProductBody [−][src]
pub struct CreateCategoryProductBody { pub category: Option<String>, pub identifier: Option<String>, pub names: Option<Vec<CreateCategoryProductNameBody>>, pub short_descriptions: Option<Vec<CreateCategoryProductDescriptionBody>>, pub long_descriptions: Option<Vec<CreateCategoryProductDescriptionBody>>, pub price: Option<CategoryProductPriceBody>, pub discount: Option<CategoryProductDiscountBody>, pub unit: Option<CategoryProductUnitBody>, pub picture: Option<String>, pub copied_pictures: Option<Vec<CategoryProductCopiedPictureBody>>, pub order: Option<i32>, pub is_published: Option<bool>, }
Fields
category: Option<String>
identifier: Option<String>
names: Option<Vec<CreateCategoryProductNameBody>>
short_descriptions: Option<Vec<CreateCategoryProductDescriptionBody>>
long_descriptions: Option<Vec<CreateCategoryProductDescriptionBody>>
price: Option<CategoryProductPriceBody>
discount: Option<CategoryProductDiscountBody>
unit: Option<CategoryProductUnitBody>
picture: Option<String>
copied_pictures: Option<Vec<CategoryProductCopiedPictureBody>>
order: Option<i32>
is_published: Option<bool>
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 CreateCategoryProductBody
impl Send for CreateCategoryProductBody
impl Sync for CreateCategoryProductBody
impl Unpin for CreateCategoryProductBody
impl UnwindSafe for CreateCategoryProductBody
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