Struct astrolab_smart_coffee_types::digishop::order::add_to_menu_cart::AddToMenuCartBody [−][src]
pub struct AddToMenuCartBody { pub user: Option<String>, pub device: Option<String>, pub menu: String, pub site: Option<String>, pub product: String, pub options: Option<Vec<MenuCartOptionBody>>, pub quantity: f64, pub unit_price: PriceBody, pub notes: Option<String>, pub product_is_available: bool, pub quantity_is_sufficient: bool, pub variant_is_exists: bool, }
Fields
user: Option<String>
device: Option<String>
site: Option<String>
product: String
options: Option<Vec<MenuCartOptionBody>>
quantity: f64
unit_price: PriceBody
notes: Option<String>
product_is_available: bool
quantity_is_sufficient: bool
variant_is_exists: 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 AddToMenuCartBody
impl Send for AddToMenuCartBody
impl Sync for AddToMenuCartBody
impl Unpin for AddToMenuCartBody
impl UnwindSafe for AddToMenuCartBody
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