# Struct command::bot::Grant

> `bot.grant`: the new effective grants, replacing the old.

`zaun_community_protocol::command::bot::Grant` · Struct

```rust
pub struct Grant { … }
```

`bot.grant`: the new effective grants, replacing the old.

## Fields

### `bot_id: BotId`

The bot.

### `permissions: Option<Permissions>`

Bits of the managed role.

### `capabilities: Option<Capabilities>`

Capabilities.

## Trait implementations

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

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