Struct rust_tdlib::types::InputInlineQueryResultLocation
source · pub struct InputInlineQueryResultLocation { /* private fields */ }
Expand description
Represents a point on the map
Implementations§
source§impl InputInlineQueryResultLocation
impl InputInlineQueryResultLocation
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> InputInlineQueryResultLocationBuilder
pub fn id(&self) -> &String
pub fn location(&self) -> &Location
pub fn live_period(&self) -> i32
pub fn title(&self) -> &String
pub fn thumbnail_url(&self) -> &String
pub fn thumbnail_width(&self) -> i32
pub fn thumbnail_height(&self) -> i32
pub fn reply_markup(&self) -> &ReplyMarkup
pub fn input_message_content(&self) -> &InputMessageContent
Trait Implementations§
source§impl AsRef<InputInlineQueryResultLocation> for InputInlineQueryResultLocation
impl AsRef<InputInlineQueryResultLocation> for InputInlineQueryResultLocation
source§fn as_ref(&self) -> &InputInlineQueryResultLocation
fn as_ref(&self) -> &InputInlineQueryResultLocation
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InputInlineQueryResultLocation
impl Clone for InputInlineQueryResultLocation
source§fn clone(&self) -> InputInlineQueryResultLocation
fn clone(&self) -> InputInlineQueryResultLocation
Returns a copy 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 Default for InputInlineQueryResultLocation
impl Default for InputInlineQueryResultLocation
source§fn default() -> InputInlineQueryResultLocation
fn default() -> InputInlineQueryResultLocation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InputInlineQueryResultLocation
impl<'de> Deserialize<'de> for InputInlineQueryResultLocation
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