# Enum command::object::InteractionData

> `data` of an interaction, by type.

`zaun_community_protocol::command::object::InteractionData` · Enum

```rust
pub enum InteractionData { … }
```

`data` of an interaction, by type.

## Variants

### `Command { command_id, name, kind, options, resolved, target_id }`

Types 2 and 4.

### `Component { custom_id, component_type, values, resolved }`

Type 3.

### `Modal { custom_id, components, resolved }`

Type 5.

## Trait implementations

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

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/interaction/enum.InteractionData.html)
