pub struct LifecycleEvent {
pub operation_id: OperationId,
pub mission_id: MissionId,
pub run_id: RunId,
pub state: RunState,
pub reason: Option<String>,
pub sequence: u64,
}Expand description
A lifecycle update for one agent Run.
Fields§
§operation_id: OperationIdOperation containing the Mission.
mission_id: MissionIdUnit of work that may group multiple Runs.
run_id: RunIdProvider-issued resumable operation identifier.
state: RunStateUpdated board state.
reason: Option<String>Why AI6 holds the Run in this state, when it says: green-ink while a step waits
for a person’s approval, budget after a spending limit, permission-denied at the end
of a Mission whose harness refused calls in its last turn. A lowercase name of at most
MAX_REASON_BYTES.
sequence: u64Monotonically increasing event cursor for this Run.
Trait Implementations§
Source§impl Clone for LifecycleEvent
impl Clone for LifecycleEvent
Source§impl Debug for LifecycleEvent
impl Debug for LifecycleEvent
impl Eq for LifecycleEvent
Source§impl PartialEq for LifecycleEvent
impl PartialEq for LifecycleEvent
impl StructuralPartialEq for LifecycleEvent
Auto Trait Implementations§
impl Freeze for LifecycleEvent
impl RefUnwindSafe for LifecycleEvent
impl Send for LifecycleEvent
impl Sync for LifecycleEvent
impl Unpin for LifecycleEvent
impl UnsafeUnpin for LifecycleEvent
impl UnwindSafe for LifecycleEvent
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.