pub struct AnswerInlineQuery<InlineQueryResultType: Serialize + Default> {
pub inline_query_id: String,
pub results: Vec<InlineQueryResultType>,
pub cache_time: Option<i64>,
pub is_personal: Option<bool>,
pub next_offset: String,
pub switch_pm_text: Option<String>,
pub switch_pm_parameter: Option<String>,
}Fields§
§inline_query_id: String§results: Vec<InlineQueryResultType>§cache_time: Option<i64>§is_personal: Option<bool>§next_offset: String§switch_pm_text: Option<String>§switch_pm_parameter: Option<String>Implementations§
Trait Implementations§
Source§impl<InlineQueryResultType: Clone + Serialize + Default> Clone for AnswerInlineQuery<InlineQueryResultType>
impl<InlineQueryResultType: Clone + Serialize + Default> Clone for AnswerInlineQuery<InlineQueryResultType>
Source§fn clone(&self) -> AnswerInlineQuery<InlineQueryResultType>
fn clone(&self) -> AnswerInlineQuery<InlineQueryResultType>
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<InlineQueryResultType: Debug + Serialize + Default> Debug for AnswerInlineQuery<InlineQueryResultType>
impl<InlineQueryResultType: Debug + Serialize + Default> Debug for AnswerInlineQuery<InlineQueryResultType>
Source§impl<InlineQueryResultType: Default + Serialize + Default> Default for AnswerInlineQuery<InlineQueryResultType>
impl<InlineQueryResultType: Default + Serialize + Default> Default for AnswerInlineQuery<InlineQueryResultType>
Source§fn default() -> AnswerInlineQuery<InlineQueryResultType>
fn default() -> AnswerInlineQuery<InlineQueryResultType>
Returns the “default value” for a type. Read more
Source§impl<InlineQueryResultType> Serialize for AnswerInlineQuery<InlineQueryResultType>
impl<InlineQueryResultType> Serialize for AnswerInlineQuery<InlineQueryResultType>
Auto Trait Implementations§
impl<InlineQueryResultType> Freeze for AnswerInlineQuery<InlineQueryResultType>
impl<InlineQueryResultType> RefUnwindSafe for AnswerInlineQuery<InlineQueryResultType>where
InlineQueryResultType: RefUnwindSafe,
impl<InlineQueryResultType> Send for AnswerInlineQuery<InlineQueryResultType>where
InlineQueryResultType: Send,
impl<InlineQueryResultType> Sync for AnswerInlineQuery<InlineQueryResultType>where
InlineQueryResultType: Sync,
impl<InlineQueryResultType> Unpin for AnswerInlineQuery<InlineQueryResultType>where
InlineQueryResultType: Unpin,
impl<InlineQueryResultType> UnwindSafe for AnswerInlineQuery<InlineQueryResultType>where
InlineQueryResultType: UnwindSafe,
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