[][src]Enum grammers_tl_types::enums::Chat

pub enum Chat {
    Empty(ChatEmpty),
    Chat(Chat),
    Forbidden(ChatForbidden),
    Channel(Channel),
    ChannelForbidden(ChannelForbidden),
}

Variants

Empty(ChatEmpty)
Chat(Chat)
Forbidden(ChatForbidden)
Channel(Channel)
ChannelForbidden(ChannelForbidden)

Trait Implementations

impl Clone for Chat[src]

impl Debug for Chat[src]

impl Deserializable for Chat[src]

impl From<Channel> for Chat[src]

impl From<ChannelForbidden> for Chat[src]

impl From<Chat> for Chat[src]

impl From<ChatEmpty> for Chat[src]

impl From<ChatForbidden> for Chat[src]

impl PartialEq<Chat> for Chat[src]

impl Serializable for Chat[src]

impl StructuralPartialEq for Chat[src]

impl TryFrom<Chat> for Channel[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<Chat> for ChannelForbidden[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<Chat> for Chat[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<Chat> for ChatEmpty[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<Chat> for ChatForbidden[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Chat

impl Send for Chat

impl Sync for Chat

impl Unpin for Chat

impl UnwindSafe for Chat

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, 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.