# FolderPickerOpenOptions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/platform/storage/struct-folderpickeropenoptions/

**struct** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
struct FolderPickerOpenOptions
```

Options class for the
`IStorageProvider::open_folder_picker_async`
method.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/storage/folder_picker_open_options.rs#L8)

## Members

- [`new`](#function-new)
- [`allow_multiple`](#function-allow_multiple)
- [`set_allow_multiple`](#function-set_allow_multiple)
- [`with_allow_multiple`](#function-with_allow_multiple)

<a id="function-new"></a>

### new

```rust
fn new() -> Self
```

Creates options with nothing set.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/storage/folder_picker_open_options.rs#L35)

<a id="function-allow_multiple"></a>

### allow_multiple

```rust
fn allow_multiple(self: &Self) -> bool
```

An option indicating whether the open picker allows users to select
multiple folders.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/storage/folder_picker_open_options.rs#L41)

<a id="function-set_allow_multiple"></a>

### set_allow_multiple

```rust
fn set_allow_multiple(self: &mut Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/storage/folder_picker_open_options.rs#L45)

<a id="function-with_allow_multiple"></a>

### with_allow_multiple

```rust
fn with_allow_multiple(self: Self, value: bool) -> Self
```

Sets `allow_multiple` and returns the
options.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/platform/storage/folder_picker_open_options.rs#L51)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Default`
- `Deref`
- `DerefMut`
- `From<PickerOptions>`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
