pub struct StoredInputState {
pub state: InputState,
pub seed: InputStateSeed,
}Expand description
Persisted bundle: shell InputState plus its InputStateSeed.
Used at the store boundary so the DSL-owned fields survive persistence
without being re-shadowed onto InputState itself. Recovery treats the
seed as a durable witness and re-enters the recovered facts through typed
machine inputs; it does not hydrate DSL state directly from this bundle.
Fields§
§state: InputState§seed: InputStateSeedImplementations§
Source§impl StoredInputState
impl StoredInputState
Sourcepub fn new_accepted(input_id: InputId) -> Self
pub fn new_accepted(input_id: InputId) -> Self
Convenience: freshly-accepted bundle.
Trait Implementations§
Source§impl Clone for StoredInputState
impl Clone for StoredInputState
Source§fn clone(&self) -> StoredInputState
fn clone(&self) -> StoredInputState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoredInputState
impl Debug for StoredInputState
Source§impl<'de> Deserialize<'de> for StoredInputState
impl<'de> Deserialize<'de> for StoredInputState
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StoredInputState
impl RefUnwindSafe for StoredInputState
impl Send for StoredInputState
impl Sync for StoredInputState
impl Unpin for StoredInputState
impl UnsafeUnpin for StoredInputState
impl UnwindSafe for StoredInputState
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