# OpenFilePickerResult

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

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

```rust
struct OpenFilePickerResult
```

Extended result of the
`IStorageProvider::open_file_picker_with_result_async`
operation.

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

## Members

- [`files`](#struct_field-files)
- [`selected_file_type`](#struct_field-selected_file_type)

<a id="struct_field-files"></a>

### files

```rust
files: Vec<std::rc::Rc<dyn IStorageFile>>
```

The list of files picked by the user, empty if the user canceled
the dialog.

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

<a id="struct_field-selected_file_type"></a>

### selected_file_type

```rust
selected_file_type: Option<std::rc::Rc<super::FilePickerFileType>>
```

The file type selected by the user in the dialog.

This value is `None` if the user canceled the dialog. It can also
be `None` if the platform does not provide this information.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Default`
- `PartialEq`

## Availability

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