Struct tdlib_types::types::InlineQueryResults
source · 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
sourceimpl Clone for InlineQueryResults
impl Clone for InlineQueryResults
sourcefn clone(&self) -> InlineQueryResults
fn clone(&self) -> InlineQueryResults
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 InlineQueryResults
impl Debug for InlineQueryResults
sourceimpl<'de> Deserialize<'de> for InlineQueryResults
impl<'de> Deserialize<'de> for InlineQueryResults
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
sourceimpl Serialize for InlineQueryResults
impl Serialize for InlineQueryResults
Auto Trait Implementations
impl RefUnwindSafe for InlineQueryResults
impl Send for InlineQueryResults
impl Sync for InlineQueryResults
impl Unpin for InlineQueryResults
impl UnwindSafe for InlineQueryResults
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