[−][src]Struct tbot::types::inline_query::result::Result
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> Clone for Result<'a>
[src]
impl<'a> Copy for Result<'a>
[src]
impl<'a> Debug for Result<'a>
[src]
impl<'a> PartialEq<Result<'a>> for Result<'a>
[src]
impl<'a> Serialize for Result<'a>
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'a> StructuralPartialEq for Result<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Result<'a>
impl<'a> Send for Result<'a>
impl<'a> Sync for Result<'a>
impl<'a> Unpin for Result<'a>
impl<'a> UnwindSafe for Result<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,