pub struct CanAdministerChannelGroup(pub GroupSetting);Expand description
Represents A group-setting value defining the set of users who have permission to administer this channel.
Organization administrators can administer every channel as though they were in this group without being explicitly listed here.
Note that a user must have metadata access to a channel and permission to administer the channel in order to modify this setting.
Changes: Prior to Zulip 10.0 (feature level 349) a user needed to have content access to a channel in order to modify it. The exception to this rule was that organization administrators can edit channel names and descriptions without having full access to the channel. New in Zulip 10.0 (feature level 325). Prior to this change, the permission to administer channels was limited to realm administrators.
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.
Tuple Fields§
§0: GroupSettingImplementations§
Source§impl CanAdministerChannelGroup
impl CanAdministerChannelGroup
Sourcepub const fn from_inner(val: GroupSetting) -> Self
pub const fn from_inner(val: GroupSetting) -> Self
Converts the inner representation into a Self.
Sourcepub fn into_inner(self) -> GroupSetting
pub fn into_inner(self) -> GroupSetting
Converts the Self into the inner representation.