pub struct PersistedState {
pub schema_version: u32,
pub stack: Vec<Value>,
pub settings: Settings,
pub migrated: bool,
}Expand description
Top-level persisted state (stack + settings + schema version).
Fields§
§schema_version: u32§stack: Vec<Value>§settings: Settings§migrated: boolTrait Implementations§
Source§impl Clone for PersistedState
impl Clone for PersistedState
Source§impl Debug for PersistedState
impl Debug for PersistedState
Source§impl Default for PersistedState
impl Default for PersistedState
Source§impl<'de> Deserialize<'de> for PersistedState
impl<'de> Deserialize<'de> for PersistedState
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 PersistedState
impl PartialEq for PersistedState
Source§impl Serialize for PersistedState
impl Serialize for PersistedState
impl StructuralPartialEq for PersistedState
Auto Trait Implementations§
impl Forget for PersistedState
impl Freeze for PersistedState
impl Move for PersistedState
impl RefUnwindSafe for PersistedState
impl Send for PersistedState
impl Sync for PersistedState
impl Unpin for PersistedState
impl UnsafeUnpin for PersistedState
impl UnwindSafe for PersistedState
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