Struct wolt::MenuItem [−][src]
pub struct MenuItem {}Show fields
pub id: ObjectReference, pub _id: ObjectReference, pub category: ObjectReference, pub enabled: bool, pub name: Vec<LocalizedString>, pub description: Vec<LocalizedString>, pub alcohol_percentage: i32, pub baseprice: i32, pub vat_percentage: i32, pub allowed_delivery_methods: Vec<String>, pub type: String, pub ftu_restrictions: Vec<String>, pub has_extra_info: bool, pub image: Option<String>, pub image_blurhash: Option<String>, pub checksum: String, pub is_venue_tip: bool, pub options: Vec<MenuItemOption>, pub tags: Vec<MenuItemTag>, pub times: Vec<MenuItemTime>, pub allowed_order_types: Option<Vec<String>>, pub original_price: Option<i32>, pub validity: Option<MenuItemValidity>, pub _extra_fields: HashMap<String, Value>,
Fields
id: ObjectReference
_id: ObjectReference
category: ObjectReference
enabled: bool
name: Vec<LocalizedString>
description: Vec<LocalizedString>
alcohol_percentage: i32
baseprice: i32
vat_percentage: i32
allowed_delivery_methods: Vec<String>
type: String
ftu_restrictions: Vec<String>
has_extra_info: bool
image: Option<String>
image_blurhash: Option<String>
checksum: String
is_venue_tip: bool
options: Vec<MenuItemOption>
times: Vec<MenuItemTime>
allowed_order_types: Option<Vec<String>>
original_price: Option<i32>
validity: Option<MenuItemValidity>
_extra_fields: HashMap<String, Value>
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 MenuItem
impl UnwindSafe for MenuItem