Struct frankenstein::objects::ChatMemberRestricted [−][src]
pub struct ChatMemberRestricted {
pub user: User,
pub is_member: bool,
pub can_change_info: bool,
pub can_invite_users: bool,
pub can_pin_messages: Option<bool>,
pub can_send_messages: bool,
pub can_send_media_messages: bool,
pub can_send_polls: bool,
pub can_send_other_messages: bool,
pub can_add_web_page_previews: bool,
pub until_date: u64,
}
Fields
user: User
is_member: bool
can_change_info: bool
can_invite_users: bool
can_pin_messages: Option<bool>
can_send_messages: bool
can_send_media_messages: bool
can_send_polls: bool
can_send_other_messages: bool
can_add_web_page_previews: bool
until_date: u64
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 ChatMemberRestricted
impl Send for ChatMemberRestricted
impl Sync for ChatMemberRestricted
impl Unpin for ChatMemberRestricted
impl UnwindSafe for ChatMemberRestricted
Blanket Implementations
Mutably borrows from an owned value. Read more