Struct rust_tdlib::types::UpdateNewChosenInlineResult
source · pub struct UpdateNewChosenInlineResult { /* private fields */ }
Expand description
The user has chosen a result of an inline query; for bots only
Implementations§
source§impl UpdateNewChosenInlineResult
impl UpdateNewChosenInlineResult
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> UpdateNewChosenInlineResultBuilder
pub fn sender_user_id(&self) -> i64
pub fn user_location(&self) -> &Option<Location>
pub fn query(&self) -> &String
pub fn result_id(&self) -> &String
pub fn inline_message_id(&self) -> &String
Trait Implementations§
source§impl AsRef<UpdateNewChosenInlineResult> for UpdateNewChosenInlineResult
impl AsRef<UpdateNewChosenInlineResult> for UpdateNewChosenInlineResult
source§fn as_ref(&self) -> &UpdateNewChosenInlineResult
fn as_ref(&self) -> &UpdateNewChosenInlineResult
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for UpdateNewChosenInlineResult
impl Clone for UpdateNewChosenInlineResult
source§fn clone(&self) -> UpdateNewChosenInlineResult
fn clone(&self) -> UpdateNewChosenInlineResult
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 Debug for UpdateNewChosenInlineResult
impl Debug for UpdateNewChosenInlineResult
source§impl Default for UpdateNewChosenInlineResult
impl Default for UpdateNewChosenInlineResult
source§fn default() -> UpdateNewChosenInlineResult
fn default() -> UpdateNewChosenInlineResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateNewChosenInlineResult
impl<'de> Deserialize<'de> for UpdateNewChosenInlineResult
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