[][src]Struct telegram_bot::types::requests::AnswerInlineQuery

pub struct AnswerInlineQuery { /* fields omitted */ }

Implementations

impl AnswerInlineQuery[src]

pub fn new(
    inline_query_id: InlineQueryId,
    results: Vec<InlineQueryResult, Global>
) -> AnswerInlineQuery
[src]

pub fn add_inline_result<T>(&mut self, result: T) where
    T: Into<InlineQueryResult>, 
[src]

pub fn cache_time(&mut self, cache_time: i64) -> &mut AnswerInlineQuery[src]

pub fn is_personal(&mut self) -> &mut AnswerInlineQuery[src]

pub fn next_offset(&mut self, next_offset: String) -> &mut AnswerInlineQuery[src]

pub fn switch_pm_text(
    &mut self,
    switch_pm_text: String
) -> &mut AnswerInlineQuery
[src]

pub fn switch_pm_parameter(
    &mut self,
    switch_pm_parameter: String
) -> &mut AnswerInlineQuery
[src]

Trait Implementations

impl Debug for AnswerInlineQuery[src]

impl Request for AnswerInlineQuery[src]

impl Serialize for AnswerInlineQuery[src]

Auto Trait Implementations

impl RefUnwindSafe for AnswerInlineQuery[src]

impl Send for AnswerInlineQuery[src]

impl Sync for AnswerInlineQuery[src]

impl Unpin for AnswerInlineQuery[src]

impl UnwindSafe for AnswerInlineQuery[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]