Struct tdlib_types::types::UpdateNewChosenInlineResult
source · pub struct UpdateNewChosenInlineResult {
pub sender_user_id: i32,
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: i32
Identifier of the user who sent the query
user_location: Option<Location>
User location, provided by the client; 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
sourceimpl Clone for UpdateNewChosenInlineResult
impl Clone for UpdateNewChosenInlineResult
sourcefn clone(&self) -> UpdateNewChosenInlineResult
fn clone(&self) -> UpdateNewChosenInlineResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UpdateNewChosenInlineResult
impl Debug for UpdateNewChosenInlineResult
sourceimpl<'de> Deserialize<'de> for UpdateNewChosenInlineResult
impl<'de> Deserialize<'de> for UpdateNewChosenInlineResult
sourcefn 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 RefUnwindSafe for UpdateNewChosenInlineResult
impl Send for UpdateNewChosenInlineResult
impl Sync for UpdateNewChosenInlineResult
impl Unpin for UpdateNewChosenInlineResult
impl UnwindSafe for UpdateNewChosenInlineResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more