Struct frankenstein::objects::ChatMemberAdministrator [−][src]
pub struct ChatMemberAdministrator {Show 14 fields
pub user: User,
pub can_be_edited: bool,
pub custom_title: Option<String>,
pub is_anonymous: bool,
pub can_manage_chat: bool,
pub can_post_messages: Option<bool>,
pub can_edit_messages: Option<bool>,
pub can_delete_messages: bool,
pub can_manage_voice_chats: bool,
pub can_restrict_members: bool,
pub can_promote_members: bool,
pub can_change_info: bool,
pub can_invite_users: bool,
pub can_pin_messages: Option<bool>,
}
Fields
user: User
can_be_edited: bool
custom_title: Option<String>
is_anonymous: bool
can_manage_chat: bool
can_post_messages: Option<bool>
can_edit_messages: Option<bool>
can_delete_messages: bool
can_manage_voice_chats: bool
can_restrict_members: bool
can_promote_members: bool
can_change_info: bool
can_invite_users: bool
can_pin_messages: Option<bool>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ChatMemberAdministrator
impl Send for ChatMemberAdministrator
impl Sync for ChatMemberAdministrator
impl Unpin for ChatMemberAdministrator
impl UnwindSafe for ChatMemberAdministrator
Blanket Implementations
Mutably borrows from an owned value. Read more