Struct frankenstein::objects::InlineQueryResultLocation [−][src]
pub struct InlineQueryResultLocation {Show 13 fields
pub id: String,
pub latitude: f64,
pub longitude: f64,
pub title: String,
pub horizontal_accuracy: Option<f64>,
pub live_period: Option<u32>,
pub heading: Option<u16>,
pub proximity_alert_radius: Option<u32>,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContent>,
pub thumb_url: Option<String>,
pub thumb_width: Option<u32>,
pub thumb_height: Option<u32>,
}
Fields
id: String
latitude: f64
longitude: f64
title: String
horizontal_accuracy: Option<f64>
live_period: Option<u32>
heading: Option<u16>
proximity_alert_radius: Option<u32>
reply_markup: Option<InlineKeyboardMarkup>
input_message_content: Option<InputMessageContent>
thumb_url: Option<String>
thumb_width: Option<u32>
thumb_height: Option<u32>
Implementations
pub fn set_input_message_content(
&mut self,
input_message_content: Option<InputMessageContent>
)
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResultLocation
impl Send for InlineQueryResultLocation
impl Sync for InlineQueryResultLocation
impl Unpin for InlineQueryResultLocation
impl UnwindSafe for InlineQueryResultLocation
Blanket Implementations
Mutably borrows from an owned value. Read more