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: ObjectReferencecategory: ObjectReferenceenabled: boolname: Vec<LocalizedString>description: Vec<LocalizedString>alcohol_percentage: i32baseprice: i32vat_percentage: i32allowed_delivery_methods: Vec<String>type: Stringftu_restrictions: Vec<String>has_extra_info: boolimage: Option<String>image_blurhash: Option<String>checksum: Stringis_venue_tip: booloptions: Vec<MenuItemOption>tags: Vec<MenuItemTag>times: Vec<MenuItemTime>allowed_order_types: Option<Vec<String>>original_price: Option<i32>validity: Option<MenuItemValidity>_extra_fields: HashMap<String, Value>

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.