Struct foursquare::venue::Venue [] [src]

pub struct Venue {
    pub id: String,
    pub name: String,
    pub contact: Option<Contact>,
    pub location: Location,
    pub categories: Vec<Category>,
    pub verified: Option<bool>,
    pub url: Option<String>,
    pub hours: Option<Hours>,
    pub has_menu: Option<bool>,
    pub menu: Option<Menu>,
    pub price: Option<Price>,
    pub photos: Option<Photos>,
    pub referral_id: Option<String>,
    pub has_perk: Option<bool>,
    pub rating: Option<f32>,
    pub rating_signals: Option<u64>,
}

Fields

A unique string identifier for this venue.

The best known name for this venue.

An object containing none, some, or all of twitter, phone, and formattedPhone. All are strings. Will be None for suggest requests

An object containing none, some, or all of address (street address), crossStreet, city, state, postalCode, country, lat, lng, and distance. All fields are strings, except for lat, lng, and distance. Distance is measured in meters. Some venues have their locations intentionally hidden for privacy reasons (such as private residences). If this is the case, the parameter isFuzzed will be set to true, and the lat/lng parameters will have reduced precision.

An array, possibly empty, of categories that have been applied to this venue. One of the categories will have a primary field indicating that it is the primary category for the venue. For the complete category tree, see categories.

Boolean indicating whether the owner of this business has claimed it and verified the information. Will be be None for suggest requests

URL of the venue’s website, typically provided by the venue manager.

Contains the hours during the week that the venue is open along with any named hours segments in a human-readable format. For machine readable hours see venues/hours

Contains the hours during the week when people usually go to the venue. For machine readable hours see venues/hours.

An object containing url and mobileUrl that display the menu information for this venue.

An object containing the price tier from 1 (least pricey) - 4 (most pricey) and a message describing the price tier.

A count and groups of photos for this venue. Group types are checkin and venue. Not all items will be present. Will typically not be present for search requests

Numerical rating of the venue (0 through 10). Not all venues will have a rating.

Trait Implementations

impl Debug for Venue
[src]

[src]

Formats the value using the given formatter.