Struct tdlib::types::UpdateNewChosenInlineResult
source · pub struct UpdateNewChosenInlineResult {
pub sender_user_id: i64,
pub user_location: Option<Location>,
pub query: String,
pub result_id: String,
pub inline_message_id: String,
}
Expand description
The user has chosen a result of an inline query; for bots only
Fields§
§sender_user_id: i64
Identifier of the user who sent the query
user_location: Option<Location>
User location; may be null
query: String
Text of the query
result_id: String
Identifier of the chosen result
inline_message_id: String
Identifier of the sent inline message, if known
Trait Implementations§
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
source§impl PartialEq<UpdateNewChosenInlineResult> for UpdateNewChosenInlineResult
impl PartialEq<UpdateNewChosenInlineResult> for UpdateNewChosenInlineResult
source§fn eq(&self, other: &UpdateNewChosenInlineResult) -> bool
fn eq(&self, other: &UpdateNewChosenInlineResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.