pub struct ManagedLoopState {
pub objective_origin: Option<ScopedLoopControlBinding>,
pub control_revision: u64,
pub applied_revision: u64,
pub iteration_objective_revision: u64,
pub stop_requested: bool,
pub pending_objective: Option<PendingLoopObjective>,
pub operations: Vec<StoredLoopOperation>,
}Expand description
Schema-two management data inside the existing LoopState checkpoint. State revision advances on every checkpoint; control revision only on a newly accepted command. Receipts are compact and bounded, never a backlog.
Fields§
§objective_origin: Option<ScopedLoopControlBinding>§control_revision: u64§applied_revision: u64§iteration_objective_revision: u64§stop_requested: bool§pending_objective: Option<PendingLoopObjective>§operations: Vec<StoredLoopOperation>Trait Implementations§
Source§impl Clone for ManagedLoopState
impl Clone for ManagedLoopState
Source§impl Debug for ManagedLoopState
impl Debug for ManagedLoopState
Source§impl<'de> Deserialize<'de> for ManagedLoopState
impl<'de> Deserialize<'de> for ManagedLoopState
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
impl Eq for ManagedLoopState
Source§impl PartialEq for ManagedLoopState
impl PartialEq for ManagedLoopState
Source§impl Serialize for ManagedLoopState
impl Serialize for ManagedLoopState
impl StructuralPartialEq for ManagedLoopState
Auto Trait Implementations§
impl Freeze for ManagedLoopState
impl RefUnwindSafe for ManagedLoopState
impl Send for ManagedLoopState
impl Sync for ManagedLoopState
impl Unpin for ManagedLoopState
impl UnsafeUnpin for ManagedLoopState
impl UnwindSafe for ManagedLoopState
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.