pub struct InlineQueryResults {
pub inline_query_id: i64,
pub next_offset: String,
pub results: Vec<InlineQueryResult>,
pub switch_pm_text: String,
pub switch_pm_parameter: String,
}
Expand description
Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query
Fields§
§inline_query_id: i64
Unique identifier of the inline query
next_offset: String
The offset for the next request. If empty, there are no more results
results: Vec<InlineQueryResult>
Results of the query
switch_pm_text: String
If non-empty, this text should be shown on the button, which opens a private chat with the bot and sends the bot a start message with the switch_pm_parameter
switch_pm_parameter: String
Parameter for the bot start message
Trait Implementations§
Source§impl Clone for InlineQueryResults
impl Clone for InlineQueryResults
Source§fn clone(&self) -> InlineQueryResults
fn clone(&self) -> InlineQueryResults
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 InlineQueryResults
impl Debug for InlineQueryResults
Source§impl<'de> Deserialize<'de> for InlineQueryResults
impl<'de> Deserialize<'de> for InlineQueryResults
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 InlineQueryResults
impl RefUnwindSafe for InlineQueryResults
impl Send for InlineQueryResults
impl Sync for InlineQueryResults
impl Unpin for InlineQueryResults
impl UnwindSafe for InlineQueryResults
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