pub struct ToggleBasicGroupAdministrators {
pub basic_group_id: i32,
pub everyone_is_administrator: bool,
}
Expand description
Toggles the “All members are admins” setting in basic groups; requires creator privileges in the group
Fields§
§basic_group_id: i32
Identifier of the basic group
everyone_is_administrator: bool
New value of everyone_is_administrator
Trait Implementations§
Source§impl Clone for ToggleBasicGroupAdministrators
impl Clone for ToggleBasicGroupAdministrators
Source§fn clone(&self) -> ToggleBasicGroupAdministrators
fn clone(&self) -> ToggleBasicGroupAdministrators
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<'de> Deserialize<'de> for ToggleBasicGroupAdministrators
impl<'de> Deserialize<'de> for ToggleBasicGroupAdministrators
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
Auto Trait Implementations§
impl Freeze for ToggleBasicGroupAdministrators
impl RefUnwindSafe for ToggleBasicGroupAdministrators
impl Send for ToggleBasicGroupAdministrators
impl Sync for ToggleBasicGroupAdministrators
impl Unpin for ToggleBasicGroupAdministrators
impl UnwindSafe for ToggleBasicGroupAdministrators
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