pub struct ChosenInlineResult {
pub result_id: String,
pub from: User,
pub location: Option<Location>,
pub inline_message_id: Option<String>,
pub query: String,
}Expand description
The result a user chose from an inline query.
Delivered only when the bot has been granted access to inline feedback. Set up in @BotFather under “Inline Feedback”.
Fields§
§result_id: StringIdentifier of the chosen result.
from: UserThe user who chose the result.
location: Option<Location>Sender’s location, if enabled.
inline_message_id: Option<String>Identifier of the sent inline message, if applicable.
query: StringThe query used to obtain the result.
Trait Implementations§
Source§impl Clone for ChosenInlineResult
impl Clone for ChosenInlineResult
Source§fn clone(&self) -> ChosenInlineResult
fn clone(&self) -> ChosenInlineResult
Returns a duplicate 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 ChosenInlineResult
impl Debug for ChosenInlineResult
Source§impl<'de> Deserialize<'de> for ChosenInlineResult
impl<'de> Deserialize<'de> for ChosenInlineResult
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
Auto Trait Implementations§
impl Freeze for ChosenInlineResult
impl RefUnwindSafe for ChosenInlineResult
impl Send for ChosenInlineResult
impl Sync for ChosenInlineResult
impl Unpin for ChosenInlineResult
impl UnsafeUnpin for ChosenInlineResult
impl UnwindSafe for ChosenInlineResult
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