# Struct event::ChannelDeleted

> `channel.deleted`: `{channel_id, reason?: "access_lost"}`.

`zaun_community_protocol::event::ChannelDeleted` · Struct

```rust
pub struct ChannelDeleted { … }
```

`channel.deleted`: `{channel_id, reason?: "access_lost"}`.

## Fields

### `channel_id: ChannelId`

The channel.

### `reason: Option<VisibilityReason>`

Set when the channel became invisible rather than deleted.

## Trait implementations

`Clone`, `Copy`, `Debug`, `Deserialize<'de>`, `Eq`, `PartialEq`, `Serialize`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/event/body/structure/struct.ChannelDeleted.html)
