pub struct InputMediaVenue {
pub latitude: f64,
pub longitude: f64,
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
A venue to be sent as poll media.
Fields§
§latitude: f64Latitude of the venue.
longitude: f64Longitude of the venue.
title: StringName of the venue.
address: StringAddress of the venue.
foursquare_id: Option<String>Foursquare identifier of the venue.
foursquare_type: Option<String>Foursquare type of the venue.
google_place_id: Option<String>Google Places identifier of the venue.
google_place_type: Option<String>Google Places type of the venue.
Trait Implementations§
Source§impl Clone for InputMediaVenue
impl Clone for InputMediaVenue
Source§fn clone(&self) -> InputMediaVenue
fn clone(&self) -> InputMediaVenue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputMediaVenue
impl Debug for InputMediaVenue
Source§impl<'de> Deserialize<'de> for InputMediaVenue
impl<'de> Deserialize<'de> for InputMediaVenue
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 InputMediaVenue
impl RefUnwindSafe for InputMediaVenue
impl Send for InputMediaVenue
impl Sync for InputMediaVenue
impl Unpin for InputMediaVenue
impl UnsafeUnpin for InputMediaVenue
impl UnwindSafe for InputMediaVenue
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