# Struct permissions::Channel

> The channel context of a channel-level resolution.

`zaun_community_protocol::permissions::Channel` · Struct

```rust
pub struct Channel<'a> { … }
```

The channel context of a channel-level resolution.

## Fields

### `kind: ChannelKind`

The channel kind; it decides which bits apply.

### `overrides: &'a [Override]`

The channel's own stored overrides.

### `parent_overrides: Option<&'a [Override]>`

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

### `sync_with_parent: bool`

Whether the channel follows its parent's overrides.

### `locked: bool`

The channel `locked` flag.

### `participants: Option<[MemberId; 2]>`

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

## Methods

### `effective_overrides`

```rust
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.

## Trait implementations

`Clone`, `Copy`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/permissions/input/struct.Channel.html)
