# Enum bindings::zaun::bot::types::Component

> A top-level message component. Without `components-v2` only `action-row` is allowed.

`zaun_bot::bindings::zaun::bot::types::Component` · Enum

```rust
pub enum Component { … }
```

A top-level message component. Without `components-v2` only `action-row` is allowed.

## Variants

### `ActionRow(ActionRow)`

### `TextDisplay(TextDisplay)`

### `Section(Section)`

### `MediaGallery(MediaGallery)`

### `File(File)`

### `Separator(Separator)`

### `Container(Container)`

## Trait implementations

`Clone`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/bindings/zaun/bot/types/enum.Component.html)
