pub struct GroupSettingsData {
pub join_need_approval: bool,
pub member_can_invite: bool,
pub all_muted: bool,
pub max_members: usize,
pub announcement: Option<String>,
pub description: Option<String>,
pub created_at: String,
pub updated_at: String,
}Expand description
获取群组设置响应
RPC路由: group/settings/get
Fields§
§join_need_approval: bool§member_can_invite: bool§all_muted: bool§max_members: usize§announcement: Option<String>§description: Option<String>§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for GroupSettingsData
impl Clone for GroupSettingsData
Source§fn clone(&self) -> GroupSettingsData
fn clone(&self) -> GroupSettingsData
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 GroupSettingsData
impl Debug for GroupSettingsData
Source§impl<'de> Deserialize<'de> for GroupSettingsData
impl<'de> Deserialize<'de> for GroupSettingsData
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 GroupSettingsData
impl RefUnwindSafe for GroupSettingsData
impl Send for GroupSettingsData
impl Sync for GroupSettingsData
impl Unpin for GroupSettingsData
impl UnsafeUnpin for GroupSettingsData
impl UnwindSafe for GroupSettingsData
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