# RestartState

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-hot-patch/restart/struct-restartstate/

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

```rust
struct RestartState
```

Application data is explicitly provided and versioned, never inferred from view models.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L27)

## Members

- [`format_version`](#struct_field-format_version)
- [`application`](#struct_field-application)
- [`application_version`](#struct_field-application_version)
- [`windows`](#struct_field-windows)
- [`navigation`](#struct_field-navigation)
- [`application_state`](#struct_field-application_state)
- [`new`](#function-new)

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

### format_version

```rust
format_version: u32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L28)

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

### application

```rust
application: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L29)

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

### application_version

```rust
application_version: u32
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L30)

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

### windows

```rust
windows: Vec<WindowPlacement>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L31)

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

### navigation

```rust
navigation: Option<String>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L32)

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

### application_state

```rust
application_state: serde_json::Value
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L33)

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

### new

```rust
fn new(application: String, application_version: u32, application_state: serde_json::Value) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L36)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `DeserializeOwned`
- `Clone`
- `Debug`
- `Serialize`
- `Deserialize<'de>`
- `StructuralPartialEq`
- `PartialEq`

## Availability

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