pub struct GroupSettingIds { /* private fields */ }Expand description
GroupSettingValueOneOf : An object with these fields:
Modified from openapi-generator-cli output:
$ openapi-generator-cli generate -g rust -i ./zerver/openapi/zulip.yaml -o zulip-openapi --skip-validate-spec/*
* Zulip REST API
*
* Powerful open source group chat
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/See zerver/openapi/zulip.yaml for the original OpenAPI configuration.
Configuration slightly modified to work with the Rust generator of openapi-generator-cli.
Implementations§
Source§impl GroupSettingIds
impl GroupSettingIds
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new GroupSettingIds.
Source§impl GroupSettingIds
impl GroupSettingIds
Sourcepub fn direct_members(&self) -> Option<&[u64]>
pub fn direct_members(&self) -> Option<&[u64]>
Gets the GroupSettingIds direct_members.
The list of IDs of individual users in the collection of users with this permission.
Changes: Prior to Zulip 10.0 (feature level 303), this list would include deactivated users who had the permission before being deactivated.
Sourcepub fn set_direct_members<'a, C: Into<Cow<'a, [u64]>>>(&mut self, val: C)
pub fn set_direct_members<'a, C: Into<Cow<'a, [u64]>>>(&mut self, val: C)
Sets the GroupSettingIds direct_members.
The list of IDs of individual users in the collection of users with this permission.
Changes: Prior to Zulip 10.0 (feature level 303), this list would include deactivated users who had the permission before being deactivated.
Sourcepub fn unset_direct_members(&mut self) -> Option<Vec<u64>>
pub fn unset_direct_members(&mut self) -> Option<Vec<u64>>
Unsets the GroupSettingIds direct_members.
The list of IDs of individual users in the collection of users with this permission.
Changes: Prior to Zulip 10.0 (feature level 303), this list would include deactivated users who had the permission before being deactivated.
Sourcepub fn with_direct_members<'a, C: Into<Cow<'a, [u64]>>>(self, val: C) -> Self
pub fn with_direct_members<'a, C: Into<Cow<'a, [u64]>>>(self, val: C) -> Self
Builder function that sets the GroupSettingIds direct_members.
The list of IDs of individual users in the collection of users with this permission.
Changes: Prior to Zulip 10.0 (feature level 303), this list would include deactivated users who had the permission before being deactivated.
Sourcepub fn direct_subgroups(&self) -> Option<&[u64]>
pub fn direct_subgroups(&self) -> Option<&[u64]>
Gets the GroupSettingIds direct_subgroups.
The list of IDs of the groups in the collection of users with this permission.
Sourcepub fn set_direct_subgroups<'a, C: Into<Cow<'a, [u64]>>>(&mut self, val: C)
pub fn set_direct_subgroups<'a, C: Into<Cow<'a, [u64]>>>(&mut self, val: C)
Sets the GroupSettingIds direct_subgroups.
The list of IDs of the groups in the collection of users with this permission.
Sourcepub fn unset_direct_subgroups(&mut self) -> Option<Vec<u64>>
pub fn unset_direct_subgroups(&mut self) -> Option<Vec<u64>>
Unsets the GroupSettingIds direct_subgroups.
The list of IDs of the groups in the collection of users with this permission.
Sourcepub fn with_direct_subgroups<'a, C: Into<Cow<'a, [u64]>>>(self, val: C) -> Self
pub fn with_direct_subgroups<'a, C: Into<Cow<'a, [u64]>>>(self, val: C) -> Self
Builder function that sets the GroupSettingIds direct_subgroups.
The list of IDs of the groups in the collection of users with this permission.