Struct Venue

Source
pub struct Venue {
Show 66 fields pub phone: String, pub id: ObjectReference, pub delivery_methods: Vec<String>, pub high_volume_venue: bool, pub bank_account_type: String, pub preorder_only: bool, pub comment_disabled: bool, pub group_order_enabled: bool, pub short_description: Vec<LocalizedString>, pub country: String, pub type: String, pub food_tags: Vec<String>, pub always_available: bool, pub itemid: ObjectReference, pub opening_times: OpeningTimes, pub description: Vec<LocalizedString>, pub wolt_delivery: bool, pub allowed_payment_methods: Vec<String>, pub relevancy: f64, pub show_delivery_info_on_merchant: bool, pub preorder_times: OpeningTimes, pub ratings_and_reviews_enabled: bool, pub show_delivery_price_on_merchant: bool, pub alive: i32, pub franchise: Option<String>, pub public_visible: bool, pub merchant: ObjectReference, pub post_code: String, pub show_allergy_disclaimer_on_menu: bool, pub slug: String, pub mainimage: String, pub status: String, pub city: String, pub completion_estimates: CompletionEstimates, pub customer_support_phone: String, pub preorder_enabled: bool, pub rush: Rush, pub dropoff_note_prefix: String, pub show_phone_number_on_merchant: bool, pub timezone_name: String, pub online: bool, pub timezone: String, pub website: String, pub menu_layout: String, pub name: Vec<LocalizedString>, pub mainimage_blurhash: String, pub tags: Vec<Tag>, pub estimates: Estimates, pub currency: String, pub delivery_specs: DeliverySpecs, pub egg_timers: Option<EggTimers>, pub price_range: i32, pub rating: Rating, pub favourite: bool, pub listimage_blurhash: String, pub address: String, pub relevancy_from_purchases: f64, pub presence: String, pub product_line: String, pub listimage: String, pub public_url: String, pub active_menu: ObjectReference, pub location: Location, pub b2b_recommended: Option<bool>, pub bank_routing_code: Option<String>, pub _extra_fields: HashMap<String, Value>,
}

Fields§

§phone: String§id: ObjectReference§delivery_methods: Vec<String>§high_volume_venue: bool§bank_account_type: String§preorder_only: bool§comment_disabled: bool§group_order_enabled: bool§short_description: Vec<LocalizedString>§country: String§type: String§food_tags: Vec<String>§always_available: bool§itemid: ObjectReference§opening_times: OpeningTimes§description: Vec<LocalizedString>§wolt_delivery: bool§allowed_payment_methods: Vec<String>§relevancy: f64§show_delivery_info_on_merchant: bool§preorder_times: OpeningTimes§ratings_and_reviews_enabled: bool§show_delivery_price_on_merchant: bool§alive: i32§franchise: Option<String>§public_visible: bool§merchant: ObjectReference§post_code: String§show_allergy_disclaimer_on_menu: bool§slug: String§mainimage: String§status: String§city: String§completion_estimates: CompletionEstimates§customer_support_phone: String§preorder_enabled: bool§rush: Rush§dropoff_note_prefix: String§show_phone_number_on_merchant: bool§timezone_name: String§online: bool§timezone: String§website: String§menu_layout: String§name: Vec<LocalizedString>§mainimage_blurhash: String§tags: Vec<Tag>§estimates: Estimates§currency: String§delivery_specs: DeliverySpecs§egg_timers: Option<EggTimers>§price_range: i32§rating: Rating§favourite: bool§listimage_blurhash: String§address: String§relevancy_from_purchases: f64§presence: String§product_line: String§listimage: String§public_url: String§active_menu: ObjectReference§location: Location§b2b_recommended: Option<bool>§bank_routing_code: Option<String>§_extra_fields: HashMap<String, Value>

Trait Implementations§

Source§

impl Debug for Venue

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Venue

Source§

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 Freeze for Venue

§

impl RefUnwindSafe for Venue

§

impl Send for Venue

§

impl Sync for Venue

§

impl Unpin for Venue

§

impl UnwindSafe for Venue

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,