[][src]Struct rtdlib::types::UserTypeBot

pub struct UserTypeBot { /* fields omitted */ }

A bot (see https://core.telegram.org/bots)

Implementations

impl UserTypeBot[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDUserTypeBotBuilder[src]

pub fn can_join_groups(&self) -> bool[src]

pub fn can_read_all_group_messages(&self) -> bool[src]

pub fn is_inline(&self) -> bool[src]

pub fn inline_query_placeholder(&self) -> &String[src]

pub fn need_location(&self) -> bool[src]

Trait Implementations

impl AsRef<UserTypeBot> for UserTypeBot[src]

impl Clone for UserTypeBot[src]

impl Debug for UserTypeBot[src]

impl Default for UserTypeBot[src]

impl<'de> Deserialize<'de> for UserTypeBot[src]

impl RObject for UserTypeBot[src]

impl Serialize for UserTypeBot[src]

impl TDUserType for UserTypeBot[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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.