pub struct InlineQueryResultVenue {Show 14 fields
pub id: String,
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>,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContent>,
pub thumbnail_url: Option<String>,
pub thumbnail_width: Option<u32>,
pub thumbnail_height: Option<u32>,
}Expand description
A venue result in an inline query.
Fields§
§id: StringUnique identifier for this result (1–64 bytes).
latitude: f64Venue latitude in degrees.
longitude: f64Venue longitude in degrees.
title: StringVenue title.
address: StringVenue address.
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.
reply_markup: Option<InlineKeyboardMarkup>Inline keyboard attached to the message.
input_message_content: Option<InputMessageContent>Content of the message to be sent instead of the media.
thumbnail_url: Option<String>URL of the thumbnail for the result.
thumbnail_width: Option<u32>Thumbnail width in pixels.
thumbnail_height: Option<u32>Thumbnail height in pixels.
Trait Implementations§
Source§impl Clone for InlineQueryResultVenue
impl Clone for InlineQueryResultVenue
Source§fn clone(&self) -> InlineQueryResultVenue
fn clone(&self) -> InlineQueryResultVenue
Returns a duplicate of the value. Read more
1.0.0 · 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 InlineQueryResultVenue
impl Debug for InlineQueryResultVenue
Source§impl<'de> Deserialize<'de> for InlineQueryResultVenue
impl<'de> Deserialize<'de> for InlineQueryResultVenue
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 InlineQueryResultVenue
impl RefUnwindSafe for InlineQueryResultVenue
impl Send for InlineQueryResultVenue
impl Sync for InlineQueryResultVenue
impl Unpin for InlineQueryResultVenue
impl UnsafeUnpin for InlineQueryResultVenue
impl UnwindSafe for InlineQueryResultVenue
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