Struct astrolab_smart_coffee_types::menu::update_category_product::UpdateCategoryProductBody [−][src]
pub struct UpdateCategoryProductBody {}Show fields
pub id: String, pub category: Option<String>, pub identifier: Option<String>, pub names: Option<Vec<UpdateCategoryProductNameBody>>, pub short_descriptions: Option<Vec<UpdateCategoryProductDescriptionBody>>, pub long_descriptions: Option<Vec<UpdateCategoryProductDescriptionBody>>, 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
id: String
category: Option<String>
identifier: Option<String>
names: Option<Vec<UpdateCategoryProductNameBody>>
short_descriptions: Option<Vec<UpdateCategoryProductDescriptionBody>>
long_descriptions: Option<Vec<UpdateCategoryProductDescriptionBody>>
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>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for UpdateCategoryProductBody
impl Send for UpdateCategoryProductBody
impl Sync for UpdateCategoryProductBody
impl Unpin for UpdateCategoryProductBody
impl UnwindSafe for UpdateCategoryProductBody
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