Struct telegram_bot_api::types::Venue
source · [−]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
sourceimpl<'de> Deserialize<'de> for Venue
impl<'de> Deserialize<'de> for Venue
sourcefn 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 RefUnwindSafe for Venue
impl Send for Venue
impl Sync for Venue
impl Unpin for Venue
impl UnwindSafe for Venue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more