pub struct AnswerInlineQuery { /* private fields */ }Implementations§
Source§impl AnswerInlineQuery
impl AnswerInlineQuery
pub fn new( inline_query_id: InlineQueryId, results: Vec<InlineQueryResult>, ) -> AnswerInlineQuery
pub fn add_inline_result<T: Into<InlineQueryResult>>(&mut self, result: T)
pub fn cache_time(&mut self, cache_time: Integer) -> &mut Self
pub fn is_personal(&mut self) -> &mut Self
pub fn next_offset(&mut self, next_offset: String) -> &mut Self
pub fn switch_pm_text(&mut self, switch_pm_text: String) -> &mut Self
pub fn switch_pm_parameter(&mut self, switch_pm_parameter: String) -> &mut Self
Trait Implementations§
Source§impl Debug for AnswerInlineQuery
impl Debug for AnswerInlineQuery
Source§impl Request for AnswerInlineQuery
impl Request for AnswerInlineQuery
type Type = JsonRequestType<AnswerInlineQuery>
type Response = JsonTrueToUnitResponse
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
Auto Trait Implementations§
impl Freeze for AnswerInlineQuery
impl RefUnwindSafe for AnswerInlineQuery
impl Send for AnswerInlineQuery
impl Sync for AnswerInlineQuery
impl Unpin for AnswerInlineQuery
impl UnsafeUnpin 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