pub struct GroupSettings {
pub permissions: GroupPermissions,
pub encryption_settings: EncryptionSettings,
}Expand description
Group settings and configuration for encrypted groups
These settings control various aspects of group behavior and permissions.
Fields§
§permissions: GroupPermissionsRequired permissions for various actions
encryption_settings: EncryptionSettingsGroup encryption and security settings
Implementations§
Source§impl GroupSettings
impl GroupSettings
Sourcepub fn permissions(self, permissions: GroupPermissions) -> Self
pub fn permissions(self, permissions: GroupPermissions) -> Self
Set group permissions
Sourcepub fn encryption_settings(self, settings: EncryptionSettings) -> Self
pub fn encryption_settings(self, settings: EncryptionSettings) -> Self
Set encryption settings
Trait Implementations§
Source§impl Clone for GroupSettings
impl Clone for GroupSettings
Source§fn clone(&self) -> GroupSettings
fn clone(&self) -> GroupSettings
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 GroupSettings
impl Debug for GroupSettings
Source§impl Default for GroupSettings
impl Default for GroupSettings
Source§fn default() -> GroupSettings
fn default() -> GroupSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroupSettings
impl<'de> Deserialize<'de> for GroupSettings
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 GroupSettings
impl PartialEq for GroupSettings
Source§impl Serialize for GroupSettings
impl Serialize for GroupSettings
impl Eq for GroupSettings
impl StructuralPartialEq for GroupSettings
Auto Trait Implementations§
impl Freeze for GroupSettings
impl RefUnwindSafe for GroupSettings
impl Send for GroupSettings
impl Sync for GroupSettings
impl Unpin for GroupSettings
impl UnwindSafe for GroupSettings
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more