pub struct StatusOutput {
pub run_id: String,
pub run_dir: String,
pub task: String,
pub status: String,
pub current_phase: u32,
pub completed_phases: usize,
pub total_started: usize,
pub completed_agents: usize,
pub running_agents: usize,
pub total_tokens: u64,
pub created_at: String,
pub updated_at: String,
}Expand description
Summary view of a run’s checkpoint — the query DTO shared by the CLI.
It lives in the query layer (not a presentation layer) so that
the binary commands depend downward on service, not the reverse.
Fields§
§run_id: String§run_dir: String§task: String§status: String§current_phase: u32§completed_phases: usize§total_started: usize§completed_agents: usize§running_agents: usize§total_tokens: u64§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for StatusOutput
impl Clone for StatusOutput
Source§fn clone(&self) -> StatusOutput
fn clone(&self) -> StatusOutput
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 StatusOutput
impl Debug for StatusOutput
Source§impl From<(&str, &RunCheckpoint)> for StatusOutput
impl From<(&str, &RunCheckpoint)> for StatusOutput
Source§fn from((run_dir, cp): (&str, &RunCheckpoint)) -> Self
fn from((run_dir, cp): (&str, &RunCheckpoint)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StatusOutput
impl RefUnwindSafe for StatusOutput
impl Send for StatusOutput
impl Sync for StatusOutput
impl Unpin for StatusOutput
impl UnsafeUnpin for StatusOutput
impl UnwindSafe for StatusOutput
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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