pub struct RunResumeResponse {
pub run_id: RunId,
pub task_id: TaskId,
pub replayed_steps: usize,
}Expand description
Response body for POST /v1/runs/:id/resume.
Fields§
§run_id: RunIdThe resumed Run’s id — echoes the path param. Resume never mints a
new RunId; the interrupted Run is re-run in place so its
replay-entry Ctx snapshots (which bake this id into
meta.runtime[run_id]) stay consistent.
task_id: TaskIdThe Task this Run belongs to.
replayed_steps: usizeCount of already-completed steps handed to the replay cursor — the
engine returns each of these verbatim (no re-dispatch) before
resuming fresh work. 0 = the Run was interrupted before any step
completed, so it re-runs from scratch under the same run_id.
Trait Implementations§
Source§impl Clone for RunResumeResponse
impl Clone for RunResumeResponse
Source§fn clone(&self) -> RunResumeResponse
fn clone(&self) -> RunResumeResponse
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 RunResumeResponse
impl Debug for RunResumeResponse
Source§impl JsonSchema for RunResumeResponse
impl JsonSchema for RunResumeResponse
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RunResumeResponse
impl RefUnwindSafe for RunResumeResponse
impl Send for RunResumeResponse
impl Sync for RunResumeResponse
impl Unpin for RunResumeResponse
impl UnsafeUnpin for RunResumeResponse
impl UnwindSafe for RunResumeResponse
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