[][src]Struct grammers_tl_types::types::Chat

pub struct Chat {
    pub creator: bool,
    pub kicked: bool,
    pub left: bool,
    pub deactivated: bool,
    pub id: i32,
    pub title: String,
    pub photo: ChatPhoto,
    pub participants_count: i32,
    pub date: i32,
    pub version: i32,
    pub migrated_to: Option<InputChannel>,
    pub admin_rights: Option<ChatAdminRights>,
    pub default_banned_rights: Option<ChatBannedRights>,
}

Fields

creator: boolkicked: boolleft: booldeactivated: boolid: i32title: Stringphoto: ChatPhotoparticipants_count: i32date: i32version: i32migrated_to: Option<InputChannel>admin_rights: Option<ChatAdminRights>default_banned_rights: Option<ChatBannedRights>

Trait Implementations

impl Clone for Chat[src]

impl Debug for Chat[src]

impl Deserializable for Chat[src]

impl From<Chat> for Chat[src]

impl Identifiable for Chat[src]

impl PartialEq<Chat> for Chat[src]

impl Serializable for Chat[src]

impl StructuralPartialEq for Chat[src]

impl TryFrom<Chat> for Chat[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.