Skip to content

Struct permissions::Channel

zaun_community_protocol::permissions::Channel · Struct

pub struct Channel<'a> { … }

The channel context of a channel-level resolution.

The channel kind; it decides which bits apply.

The channel’s own stored overrides.

The parent category’s overrides, when the channel has a parent.

Whether the channel follows its parent’s overrides.

The channel locked flag.

A dm channel’s two members: only they get anything in it, owner and administrators included.

pub fn effective_overrides(&self) -> &'a [Override]

The overrides that apply: the parent’s while synced, else the channel’s own. A category never syncs.

Clone, Copy, Debug

Full rustdoc page