pub struct AgentRun {Show 23 fields
pub id: String,
pub workspace_id: String,
pub agent_name: String,
pub agent_version: String,
pub model: String,
pub status: String,
pub lifecycle: RunLifecycle,
pub outcome: Option<RunOutcomeKind>,
pub reason_code: Option<String>,
pub reason_detail: Option<Json<Value>>,
pub created_at: i64,
pub updated_at: i64,
pub completed_at: Option<i64>,
pub input: String,
pub output: Option<String>,
pub error: Option<String>,
pub last_sequence: i64,
pub budgets: Json<RunBudgets>,
pub usage: Json<RunUsage>,
pub suspended_ms: i64,
pub elapsed_ms: i64,
pub execution_elapsed_ms: i64,
pub recovery_disposition: RecoveryDisposition,
}Expand description
Materialized state of an execution. Inputs and outputs are plain text.
Fields§
§id: String§workspace_id: String§agent_name: String§agent_version: String§model: String§status: String§lifecycle: RunLifecycle§outcome: Option<RunOutcomeKind>§reason_code: Option<String>§reason_detail: Option<Json<Value>>§created_at: i64§updated_at: i64§completed_at: Option<i64>§input: String§output: Option<String>§error: Option<String>§last_sequence: i64§budgets: Json<RunBudgets>§usage: Json<RunUsage>§suspended_ms: i64§elapsed_ms: i64§execution_elapsed_ms: i64§recovery_disposition: RecoveryDispositionTrait Implementations§
Source§impl<'a, R: Row> FromRow<'a, R> for AgentRunwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
RunLifecycle: Decode<'a, R::Database> + Type<R::Database>,
Option<RunOutcomeKind>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<Json<Value>>: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
Option<i64>: Decode<'a, R::Database> + Type<R::Database>,
Json<RunBudgets>: Decode<'a, R::Database> + Type<R::Database>,
Json<RunUsage>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for AgentRunwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
RunLifecycle: Decode<'a, R::Database> + Type<R::Database>,
Option<RunOutcomeKind>: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<Json<Value>>: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
Option<i64>: Decode<'a, R::Database> + Type<R::Database>,
Json<RunBudgets>: Decode<'a, R::Database> + Type<R::Database>,
Json<RunUsage>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for AgentRun
impl RefUnwindSafe for AgentRun
impl Send for AgentRun
impl Sync for AgentRun
impl Unpin for AgentRun
impl UnsafeUnpin for AgentRun
impl UnwindSafe for AgentRun
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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