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
impl Clone for CreateCategoryProductBody
[src]
impl Clone for CreateCategoryProductBody
[src]fn clone(&self) -> CreateCategoryProductBody
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for CreateCategoryProductBody
[src]
impl<'de> Deserialize<'de> for CreateCategoryProductBody
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for CreateCategoryProductBody
[src]
impl Serialize for CreateCategoryProductBody
[src]impl Validate for CreateCategoryProductBody
[src]
impl Validate for CreateCategoryProductBody
[src]fn validate(&self) -> Result<(), ValidationErrors>
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateCategoryProductBody
impl RefUnwindSafe for CreateCategoryProductBody
impl Send for CreateCategoryProductBody
impl Send for CreateCategoryProductBody
impl Sync for CreateCategoryProductBody
impl Sync for CreateCategoryProductBody
impl Unpin for CreateCategoryProductBody
impl Unpin for CreateCategoryProductBody
impl UnwindSafe for CreateCategoryProductBody
impl UnwindSafe for CreateCategoryProductBody
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>,