# Struct command::object::Ban

> One entry of `member.bans`.

`zaun_community_protocol::command::object::Ban` · Struct

```rust
pub struct Ban { … }
```

One entry of `member.bans`.

## Fields

### `ban_id: BanId`

The ban record.

### `display_name: String`

The banned member's display name at ban time.

### `reason: Option<String>`

The moderator's reason, if given.

### `actor_id: MemberId`

The banning moderator.

### `at: u64`

Ban time, ms.

## Trait implementations

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

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/member/struct.Ban.html)
