pub struct TaskRun {Show 21 fields
pub id: i64,
pub task_id: i64,
pub attempt: i32,
pub run_type: String,
pub agent: String,
pub model: String,
pub command: String,
pub prompt: String,
pub env_vars: String,
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub parsed_response: String,
pub outcome: String,
pub error: String,
pub input_tokens: i64,
pub output_tokens: i64,
pub total_cost_usd: f64,
pub duration_secs: f64,
pub started_at: String,
pub completed_at: Option<String>,
}Expand description
A single run (agent execution, review, or routing attempt).
Fields§
§id: i64§task_id: i64§attempt: i32§run_type: String§agent: String§model: String§command: String§prompt: String§env_vars: String§exit_code: Option<i32>§stdout: String§stderr: String§parsed_response: String§outcome: String§error: String§input_tokens: i64§output_tokens: i64§total_cost_usd: f64§duration_secs: f64§started_at: String§completed_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskRun
impl<'de> Deserialize<'de> for TaskRun
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 TaskRun
impl RefUnwindSafe for TaskRun
impl Send for TaskRun
impl Sync for TaskRun
impl Unpin for TaskRun
impl UnsafeUnpin for TaskRun
impl UnwindSafe for TaskRun
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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