# Enum Select

> Builds a select menu: string options or members, roles, mentionables or channels.

`zaun_bot::Select` · Enum

```rust
pub enum Select { … }
```

Builds a select menu: string options or members, roles, mentionables or channels.

## Variants

### `Strings(StringSelect)`

Type 3.

### `Entities(EntitySelect)`

Types 5–8.

## Methods

### `strings`

```rust
pub fn strings<impl Into<String>>(custom_id: impl Into<String>, options: &[(&str, &str)]) -> Self
```

A string select with these `(label, value)` options (≤ 25).

### `entities`

```rust
pub fn entities<impl Into<String>>(kind: EntityKind, custom_id: impl Into<String>) -> Self
```

A member, role, mentionable or channel select.

### `placeholder`

```rust
pub fn placeholder<impl Into<String>>(self, text: impl Into<String>) -> Self
```

Placeholder text (≤ 150).

### `range`

```rust
pub fn range(self, min: u8, max: u8) -> Self
```

How many values may be picked (0–25).

## Trait implementations

`Clone`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/select/enum.Select.html)
