Struct astrolab_smart_coffee_types::digishop::menu::add_product_option::AddProductOptionBody [−][src]
pub struct AddProductOptionBody { pub product: String, pub names: Option<Vec<CreateProductOptionNameBody>>, pub descriptions: Option<Vec<CreateProductOptionDescriptionBody>>, pub input_kind: Option<String>, pub required_items: Option<i32>, pub has_default: Option<bool>, pub values: Option<Vec<ProductOptionValueBody>>, }
Fields
product: String
names: Option<Vec<CreateProductOptionNameBody>>
descriptions: Option<Vec<CreateProductOptionDescriptionBody>>
input_kind: Option<String>
required_items: Option<i32>
has_default: Option<bool>
values: Option<Vec<ProductOptionValueBody>>
Trait Implementations
impl Clone for AddProductOptionBody
[src]
impl Clone for AddProductOptionBody
[src]fn clone(&self) -> AddProductOptionBody
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for AddProductOptionBody
[src]
impl<'de> Deserialize<'de> for AddProductOptionBody
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for AddProductOptionBody
[src]
impl Serialize for AddProductOptionBody
[src]impl Validate for AddProductOptionBody
[src]
impl Validate for AddProductOptionBody
[src]fn validate(&self) -> Result<(), ValidationErrors>
[src]
Auto Trait Implementations
impl RefUnwindSafe for AddProductOptionBody
impl RefUnwindSafe for AddProductOptionBody
impl Send for AddProductOptionBody
impl Send for AddProductOptionBody
impl Sync for AddProductOptionBody
impl Sync for AddProductOptionBody
impl Unpin for AddProductOptionBody
impl Unpin for AddProductOptionBody
impl UnwindSafe for AddProductOptionBody
impl UnwindSafe for AddProductOptionBody
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>,