Struct wolt::Menu[][src]

pub struct Menu {
    pub id: ObjectReference,
    pub _id: ObjectReference,
    pub itemid: ObjectReference,
    pub merchant: ObjectReference,
    pub name: Vec<LocalizedString>,
    pub categories: Vec<Category>,
    pub items: Vec<MenuItem>,
    pub recommendations: Vec<Recommendation>,
    pub language: String,
    pub languages: Vec<MenuLanguage>,
    pub options: Vec<MenuOption>,
    pub _extra_fields: HashMap<String, Value>,
}

Fields

id: ObjectReference_id: ObjectReferenceitemid: ObjectReferencemerchant: ObjectReferencename: Vec<LocalizedString>categories: Vec<Category>items: Vec<MenuItem>recommendations: Vec<Recommendation>language: Stringlanguages: Vec<MenuLanguage>options: Vec<MenuOption>_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.