pub struct ChatPrivileges {
pub all_context_members: Option<bool>,
pub null_bot_read: Option<bool>,
pub null_bot_write: Option<bool>,
pub support_employee: Option<bool>,
}Fields§
§all_context_members: Option<bool>§null_bot_read: Option<bool>§null_bot_write: Option<bool>§support_employee: Option<bool>Implementations§
Source§impl ChatPrivileges
impl ChatPrivileges
pub fn new() -> ChatPrivileges
Trait Implementations§
Source§impl Clone for ChatPrivileges
impl Clone for ChatPrivileges
Source§fn clone(&self) -> ChatPrivileges
fn clone(&self) -> ChatPrivileges
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChatPrivileges
impl Debug for ChatPrivileges
Source§impl Default for ChatPrivileges
impl Default for ChatPrivileges
Source§fn default() -> ChatPrivileges
fn default() -> ChatPrivileges
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatPrivileges
impl<'de> Deserialize<'de> for ChatPrivileges
Source§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
Source§impl PartialEq for ChatPrivileges
impl PartialEq for ChatPrivileges
Source§impl Serialize for ChatPrivileges
impl Serialize for ChatPrivileges
impl StructuralPartialEq for ChatPrivileges
Auto Trait Implementations§
impl Freeze for ChatPrivileges
impl RefUnwindSafe for ChatPrivileges
impl Send for ChatPrivileges
impl Sync for ChatPrivileges
impl Unpin for ChatPrivileges
impl UnwindSafe for ChatPrivileges
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more