Struct astrolab_smart_coffee_types::digishop::menu::create_menu_type_product::CreateMenuTypeProductBody [−][src]
pub struct CreateMenuTypeProductBody {Show 20 fields
pub menu_type: String,
pub category: Option<String>,
pub categories: Option<Vec<String>>,
pub identifier: Option<String>,
pub has_multi_languages: Option<bool>,
pub name: Option<String>,
pub description: Option<String>,
pub kind: Option<String>,
pub tags: Option<Vec<String>>,
pub picture: Option<String>,
pub copied_pictures: Option<Vec<ProductCopiedPictureBody>>,
pub gallery: Option<Vec<ProductGalleryBody>>,
pub price: Option<ProductPriceBody>,
pub discount: Option<ProductDiscountBody>,
pub attributes: Option<Vec<String>>,
pub custom_fields: Option<Vec<ProductCustomFieldBody>>,
pub is_published: Option<bool>,
pub api_data: Option<ApiData>,
pub related_to: Option<String>,
pub is_free: Option<bool>,
}
Fields
category: Option<String>
categories: Option<Vec<String>>
identifier: Option<String>
has_multi_languages: Option<bool>
name: Option<String>
description: Option<String>
kind: Option<String>
picture: Option<String>
copied_pictures: Option<Vec<ProductCopiedPictureBody>>
gallery: Option<Vec<ProductGalleryBody>>
price: Option<ProductPriceBody>
discount: Option<ProductDiscountBody>
attributes: Option<Vec<String>>
custom_fields: Option<Vec<ProductCustomFieldBody>>
is_published: Option<bool>
api_data: Option<ApiData>
is_free: 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 CreateMenuTypeProductBody
impl Send for CreateMenuTypeProductBody
impl Sync for CreateMenuTypeProductBody
impl Unpin for CreateMenuTypeProductBody
impl UnwindSafe for CreateMenuTypeProductBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more