pub struct IterationStarted {
pub id: String,
pub ts: String,
pub run_id: String,
pub node_id: String,
pub iteration: u32,
pub byte_offset: u64,
}Expand description
Marks the start of one iteration inside a loop node. Emitted once
per iteration from the executor. The byte_offset is the zero-based
byte position in the node’s capture file (nodes/<id>.out) at which
this iteration’s assistant output begins — immediately after the
executor’s iteration marker line. Agents reconstruct per-iteration
text by slicing [byte_offset_N .. byte_offset_{N+1}) (or to EOF for
the final iteration) without having to parse the marker format.
Fields§
§id: String§ts: String§run_id: String§node_id: String§iteration: u32§byte_offset: u64Trait Implementations§
Source§impl Clone for IterationStarted
impl Clone for IterationStarted
Source§fn clone(&self) -> IterationStarted
fn clone(&self) -> IterationStarted
Returns a duplicate of the value. Read more
1.0.0 · 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 IterationStarted
impl Debug for IterationStarted
Source§impl<'de> Deserialize<'de> for IterationStarted
impl<'de> Deserialize<'de> for IterationStarted
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
Auto Trait Implementations§
impl Freeze for IterationStarted
impl RefUnwindSafe for IterationStarted
impl Send for IterationStarted
impl Sync for IterationStarted
impl Unpin for IterationStarted
impl UnsafeUnpin for IterationStarted
impl UnwindSafe for IterationStarted
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more