[][src]Struct tbot::types::inline_query::result::Result

pub struct Result<'a> { /* fields omitted */ }

Represents an InlineQueryResult.

Methods

impl<'a> Result<'a>[src]

pub fn new(id: &'a str, kind: impl Into<Kind<'a>>) -> Self[src]

Constructs an inline query Result.

pub fn reply_markup(self, markup: Keyboard<'a>) -> Self[src]

Configures reply_markup.

Trait Implementations

impl<'a> PartialEq<Result<'a>> for Result<'a>[src]

impl<'a> Clone for Result<'a>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a> Copy for Result<'a>[src]

impl<'a> Debug for Result<'a>[src]

impl<'a> Serialize for Result<'a>[src]

Auto Trait Implementations

impl<'a> Send for Result<'a>

impl<'a> Unpin for Result<'a>

impl<'a> Sync for Result<'a>

impl<'a> UnwindSafe for Result<'a>

impl<'a> RefUnwindSafe for Result<'a>

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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