Struct wolt::DeliverySpecs[][src]

pub struct DeliverySpecs {
Show fields pub capability_values: Option<Vec<String>>, pub courier_restrictions: i32, pub custom_geo_range: Option<GeoRange>, pub delivery_enabled: bool, pub delivery_pricing: DeliveryPricing, pub delivery_times: OpeningTimes, pub forbidden_capabilities: Vec<String>, pub geo_range: GeoRange, pub postcode_range: Vec<String>, pub price: DeliverySpecsPrice, pub require_street_address: bool, pub required_capabilities: Vec<String>, pub road_range: Option<i32>, pub road_range_mode: String, pub service_time: ServiceTime, pub use_default_autogenerated_geo_range: bool, pub use_default_delivery_pricing: bool, pub _extra_fields: HashMap<String, Value>,
}

Fields

capability_values: Option<Vec<String>>courier_restrictions: i32custom_geo_range: Option<GeoRange>delivery_enabled: booldelivery_pricing: DeliveryPricingdelivery_times: OpeningTimesforbidden_capabilities: Vec<String>geo_range: GeoRangepostcode_range: Vec<String>price: DeliverySpecsPricerequire_street_address: boolrequired_capabilities: Vec<String>road_range: Option<i32>road_range_mode: Stringservice_time: ServiceTimeuse_default_autogenerated_geo_range: booluse_default_delivery_pricing: bool_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.