pub struct Venue {
pub location: Location,
pub title: String,
pub address: String,
pub foursquare_id: Option<String>,
pub foursquare_type: Option<String>,
pub google_place_id: Option<String>,
pub google_place_type: Option<String>,
}
Expand description
This object represents a venue.
Fields§
§location: Location
Venue location. Can’t be a live location
title: String
Name of the venue
address: String
Address of the venue
foursquare_id: Option<String>
Optional. Foursquare identifier of the venue
foursquare_type: Option<String>
Optional. Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
google_place_id: Option<String>
Optional. Google Places identifier of the venue
google_place_type: Option<String>
Optional. Google Places type of the venue. (See supported types.)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Venue
impl<'de> Deserialize<'de> for Venue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more