# Struct command::object::FileUpload

> Type 19.

`zaun_community_protocol::command::object::FileUpload` · Struct

```rust
pub struct FileUpload { … }
```

Type 19.

## Fields

### `id: Option<u32>`

Unique in the modal.

### `custom_id: String`

1–100 bytes.

### `min_values: Option<u32>`

0–10, default 1.

### `max_values: Option<u32>`

≤ 10, default 1.

### `required: Option<bool>`

Default true.

## Trait implementations

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

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/component/kinds/layout/struct.FileUpload.html)
