pub struct RestartState {
pub format_version: u32,
pub application: String,
pub application_version: u32,
pub windows: Vec<WindowPlacement>,
pub navigation: Option<String>,
pub application_state: Value,
}Expand description
Application data is explicitly provided and versioned, never inferred from view models.
Fields§
§format_version: u32§application: String§application_version: u32§windows: Vec<WindowPlacement>§application_state: ValueImplementations§
Trait Implementations§
Source§impl Clone for RestartState
impl Clone for RestartState
Source§impl Debug for RestartState
impl Debug for RestartState
Source§impl<'de> Deserialize<'de> for RestartState
impl<'de> Deserialize<'de> for RestartState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RestartState
impl PartialEq for RestartState
Source§impl Serialize for RestartState
impl Serialize for RestartState
impl StructuralPartialEq for RestartState
Auto Trait Implementations§
impl Freeze for RestartState
impl RefUnwindSafe for RestartState
impl Send for RestartState
impl Sync for RestartState
impl Unpin for RestartState
impl UnsafeUnpin for RestartState
impl UnwindSafe for RestartState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more