pub struct LoopState {Show 13 fields
pub schema_version: u32,
pub generation: String,
pub revision: u64,
pub objective_revision: u64,
pub owner_execution_id: String,
pub objective: String,
pub max_iterations: u32,
pub max_total_rounds: u32,
pub iterations_started: u32,
pub iterations_completed: u32,
pub rounds_started: u32,
pub status: LoopStatus,
pub control: Option<ManagedLoopState>,
}Expand description
Persisted through the existing Session checkpoint, with no separate store. Objective revision is fixed at one in this slice. Future edits must use the generation and revision instead of treating a free-text followup as an edit.
Fields§
§schema_version: u32§generation: String§revision: u64§objective_revision: u64§owner_execution_id: String§objective: String§max_iterations: u32§max_total_rounds: u32§iterations_started: u32§iterations_completed: u32§rounds_started: u32Conservative admissions, including a round whose preparation later fails. Existing provider retries stay within one round and retain their limits.
status: LoopStatus§control: Option<ManagedLoopState>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LoopState
impl<'de> Deserialize<'de> for LoopState
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 LoopState
impl StructuralPartialEq for LoopState
Auto Trait Implementations§
impl Freeze for LoopState
impl RefUnwindSafe for LoopState
impl Send for LoopState
impl Sync for LoopState
impl Unpin for LoopState
impl UnsafeUnpin for LoopState
impl UnwindSafe for LoopState
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.