pub struct CanDeleteAnyMessageGroup(pub GroupSetting);Expand description
Represents a group-setting value defining the set of users who have permission to delete any message in the channel.
Note that a user must have content access to a channel in order to delete any message in the channel.
Users present in the organization-level can_delete_any_message_group setting can always delete any message in the channel if they have content access to that channel.
Changes: New in Zulip 11.0 (feature level 407). Prior to this change, only the users in can_delete_any_message_group were able delete any message in the organization.
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 CanDeleteAnyMessageGroup
impl CanDeleteAnyMessageGroup
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.