pub struct RunStatusResponse {Show 14 fields
pub run_id: String,
pub target: String,
pub status: RunStatus,
pub created_at: String,
pub updated_at: String,
pub result: Option<Value>,
pub error: Option<String>,
pub attempt: u32,
pub max_attempts: u32,
pub retry_count: u32,
pub retries_remaining: u32,
pub cancel_requested: bool,
pub session_id: Option<String>,
pub checkpoint: Option<RunCheckpointRef>,
}Expand description
GET /runs/{run_id} response.
Fields§
§run_id: StringThe run identifier.
target: StringThe agent or workflow the run executes.
status: RunStatusThe run’s status.
created_at: StringWhen the run was enqueued.
updated_at: StringWhen the run last changed.
result: Option<Value>The result of a completed run.
error: Option<String>The error of the latest failed attempt.
attempt: u32Attempts started so far, counting recoveries.
max_attempts: u32The most attempts the run may take.
retry_count: u32Retries used: attempt - 1.
retries_remaining: u32Attempts left.
cancel_requested: boolWhether cancellation was requested while the run was running.
session_id: Option<String>The session an agent run continues.
checkpoint: Option<RunCheckpointRef>Where the run’s progress is checkpointed.
Trait Implementations§
Source§impl Debug for RunStatusResponse
impl Debug for RunStatusResponse
Source§impl From<RunRecord> for RunStatusResponse
impl From<RunRecord> for RunStatusResponse
Auto Trait Implementations§
impl Forget for RunStatusResponse
impl Freeze for RunStatusResponse
impl Move for RunStatusResponse
impl RefUnwindSafe for RunStatusResponse
impl Send for RunStatusResponse
impl Sync for RunStatusResponse
impl Unpin for RunStatusResponse
impl UnsafeUnpin for RunStatusResponsewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
impl UnwindSafe for RunStatusResponsewhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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