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: i64Identifier of the user who sent the query
user_location: Option<Location>User location; may be null
query: StringText of the query
result_id: StringIdentifier of the chosen result
inline_message_id: StringIdentifier 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
impl StructuralPartialEq for UpdateNewChosenInlineResult
Auto Trait Implementations§
impl Freeze for UpdateNewChosenInlineResult
impl RefUnwindSafe for UpdateNewChosenInlineResult
impl Send for UpdateNewChosenInlineResult
impl Sync for UpdateNewChosenInlineResult
impl Unpin for UpdateNewChosenInlineResult
impl UnwindSafe for UpdateNewChosenInlineResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more