pub struct GroupSettingsPatch {
pub join_need_approval: Option<bool>,
pub member_can_invite: Option<bool>,
pub all_muted: Option<bool>,
pub max_members: Option<u32>,
pub announcement: Option<String>,
pub description: Option<String>,
}Expand description
更新群组设置请求
RPC路由: group/settings/update
Fields§
§join_need_approval: Option<bool>是否开启加群审批(可选)
member_can_invite: Option<bool>成员是否可邀请(可选)
all_muted: Option<bool>是否全员禁言(可选)
max_members: Option<u32>最大成员数(可选)
announcement: Option<String>群公告(可选)
description: Option<String>群描述(可选)
Trait Implementations§
Source§impl Clone for GroupSettingsPatch
impl Clone for GroupSettingsPatch
Source§fn clone(&self) -> GroupSettingsPatch
fn clone(&self) -> GroupSettingsPatch
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 GroupSettingsPatch
impl Debug for GroupSettingsPatch
Source§impl<'de> Deserialize<'de> for GroupSettingsPatch
impl<'de> Deserialize<'de> for GroupSettingsPatch
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 GroupSettingsPatch
impl RefUnwindSafe for GroupSettingsPatch
impl Send for GroupSettingsPatch
impl Sync for GroupSettingsPatch
impl Unpin for GroupSettingsPatch
impl UnsafeUnpin for GroupSettingsPatch
impl UnwindSafe for GroupSettingsPatch
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