Struct frankenstein::objects::ChatPermissions [−][src]
pub struct ChatPermissions { pub can_send_messages: Option<bool>, pub can_send_media_messages: Option<bool>, pub can_send_polls: Option<bool>, pub can_send_other_messages: Option<bool>, pub can_add_web_page_previews: Option<bool>, pub can_change_info: Option<bool>, pub can_invite_users: Option<bool>, pub can_pin_messages: Option<bool>, }
Fields
can_send_messages: Option<bool>
can_send_media_messages: Option<bool>
can_send_polls: Option<bool>
can_send_other_messages: Option<bool>
can_add_web_page_previews: Option<bool>
can_change_info: Option<bool>
can_invite_users: Option<bool>
can_pin_messages: Option<bool>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]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 ChatPermissions
impl Send for ChatPermissions
impl Sync for ChatPermissions
impl Unpin for ChatPermissions
impl UnwindSafe for ChatPermissions
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
pub fn vzip(self) -> V
impl<T> UnsafeAny for T where
T: Any,