# WindowsAppSdkOptions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-winui/struct-windowsappsdkoptions/

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

```rust
struct WindowsAppSdkOptions
```

What the bootstrap asks for: the version of the framework package and how
a failure is reported.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.WinUI/windows_app_sdk.rs#L23)

## Members

- [`major_minor_version`](#struct_field-major_minor_version)
- [`version_tag`](#struct_field-version_tag)
- [`min_version`](#struct_field-min_version)
- [`options`](#struct_field-options)
- [`bootstrap_library`](#struct_field-bootstrap_library)
- [`OPTIONS_NONE`](#assoc_const-options_none)
- [`OPTIONS_ON_NO_MATCH_SHOW_UI`](#assoc_const-options_on_no_match_show_ui)
- [`RELEASE_MAJOR_MINOR`](#assoc_const-release_major_minor)

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

### major_minor_version

```rust
major_minor_version: u32
```

The major and the minor version of the release, as `0xMMMMNNNN`
(`WINDOWSAPPSDK_RELEASE_MAJORMINOR`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.WinUI/windows_app_sdk.rs#L26)

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

### version_tag

```rust
version_tag: String
```

The tag of a preview or an experimental release; empty for a stable
one.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.WinUI/windows_app_sdk.rs#L29)

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

### min_version

```rust
min_version: u64
```

The lowest version of the runtime package (`PACKAGE_VERSION`); zero
for any of the release.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.WinUI/windows_app_sdk.rs#L32)

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

### options

```rust
options: i32
```

`MddBootstrapInitializeOptions`. The initializer the SDK generates
shows the system's dialog that offers the runtime when none is
installed (`OnNoMatch_ShowUI`); the default here is none, so that a
process without a person in front of it fails with the result code.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.WinUI/windows_app_sdk.rs#L37)

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

### bootstrap_library

```rust
bootstrap_library: String
```

The bootstrap library: its name, which the system looks for beside
the executable first, or a path.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.WinUI/windows_app_sdk.rs#L40)

<a id="assoc_const-options_none"></a>

### OPTIONS_NONE

```rust
const OPTIONS_NONE: i32
```

`MddBootstrapInitializeOptions_None`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.WinUI/windows_app_sdk.rs#L45)

<a id="assoc_const-options_on_no_match_show_ui"></a>

### OPTIONS_ON_NO_MATCH_SHOW_UI

```rust
const OPTIONS_ON_NO_MATCH_SHOW_UI: i32
```

`MddBootstrapInitializeOptions_OnNoMatch_ShowUI`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.WinUI/windows_app_sdk.rs#L47)

<a id="assoc_const-release_major_minor"></a>

### RELEASE_MAJOR_MINOR

```rust
const RELEASE_MAJOR_MINOR: u32
```

The release whose metadata the bindings of the crate are generated
from (`interop/winui.idl`): 1.6, any runtime version of it.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Windows/FerroUI.WinUI/windows_app_sdk.rs#L51)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `IUnknownImpl`
- [`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/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Default`

## Availability

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