Struct mogram::api::query::AnswerInlineQuery
source · pub struct AnswerInlineQuery {
pub inline_query_id: String,
pub results: Vec<InlineQueryResultArticle>,
pub cache_time: Option<i64>,
pub is_personal: Option<bool>,
pub next_offset: Option<String>,
}Fields§
§inline_query_id: StringUnique identifier for the answered query
results: Vec<InlineQueryResultArticle>A JSON-serialized array of results for the inline query
cache_time: Option<i64>The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.
is_personal: Option<bool>Pass True, if results may be cached on the server side only for the user
next_offset: Option<String>Pass the offset that a client should send in the next query with the same
Implementations§
Trait Implementations§
source§impl Clone for AnswerInlineQuery
impl Clone for AnswerInlineQuery
source§fn clone(&self) -> AnswerInlineQuery
fn clone(&self) -> AnswerInlineQuery
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 AnswerInlineQuery
impl Debug for AnswerInlineQuery
source§impl Default for AnswerInlineQuery
impl Default for AnswerInlineQuery
source§fn default() -> AnswerInlineQuery
fn default() -> AnswerInlineQuery
Returns the “default value” for a type. Read more
source§impl Serialize for AnswerInlineQuery
impl Serialize for AnswerInlineQuery
impl Request for AnswerInlineQuery
Auto Trait Implementations§
impl RefUnwindSafe for AnswerInlineQuery
impl Send for AnswerInlineQuery
impl Sync for AnswerInlineQuery
impl Unpin for AnswerInlineQuery
impl UnwindSafe for AnswerInlineQuery
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