pub struct CheckinContext {
pub current_hat: Option<String>,
pub open_tasks: usize,
pub closed_tasks: usize,
pub cumulative_cost: f64,
}Expand description
Additional context for enhanced check-in messages.
Provides richer information than the basic iteration + elapsed time, including current hat, task progress, and cost tracking.
Fields§
§current_hat: Option<String>The currently active hat name (e.g., “executor”, “reviewer”).
open_tasks: usizeNumber of open (non-terminal) tasks.
closed_tasks: usizeNumber of closed tasks.
cumulative_cost: f64Cumulative cost in USD.
Trait Implementations§
Source§impl Debug for CheckinContext
impl Debug for CheckinContext
Source§impl Default for CheckinContext
impl Default for CheckinContext
Source§fn default() -> CheckinContext
fn default() -> CheckinContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CheckinContext
impl RefUnwindSafe for CheckinContext
impl Send for CheckinContext
impl Sync for CheckinContext
impl Unpin for CheckinContext
impl UnwindSafe for CheckinContext
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> Erasable for T
impl<T> Erasable for T
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