Struct clacks_mtproto::mtproto::channel_admin_rights::ChannelAdminRights [] [src]

pub struct ChannelAdminRights {
    pub change_info: bool,
    pub post_messages: bool,
    pub edit_messages: bool,
    pub delete_messages: bool,
    pub ban_users: bool,
    pub invite_users: bool,
    pub invite_link: bool,
    pub pin_messages: bool,
    pub add_admins: bool,
}

TL-derived from channelAdminRights

channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true = ChannelAdminRights;

Fields

Trait Implementations

impl Debug for ChannelAdminRights
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for ChannelAdminRights
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BareSerialize for ChannelAdminRights
[src]

impl BareDeserialize for ChannelAdminRights
[src]

impl IntoBoxed for ChannelAdminRights
[src]

Auto Trait Implementations