pub struct RunGetResponse {
pub run_id: String,
pub task_id: String,
pub state: RunState,
pub created_at: u64,
pub scheduled_at: u64,
pub attempt_count: u32,
pub current_attempt_id: Option<String>,
pub state_history: Vec<RunStateHistoryEntry>,
pub attempts: Vec<RunAttemptEntry>,
pub lease: Option<RunLeaseEntry>,
pub block_reason: Option<&'static str>,
}Expand description
Run get response payload.
This struct represents the stable schema for the run get endpoint response.
Fields§
§run_id: StringRun identifier as a stable string.
task_id: StringTask identifier as a stable string.
state: RunStateRun state.
created_at: u64Run creation timestamp derived from the WAL event.
scheduled_at: u64Run scheduled timestamp derived from run instance.
attempt_count: u32Number of attempts made for this run.
current_attempt_id: Option<String>Current attempt identifier if any.
state_history: Vec<RunStateHistoryEntry>Run state history entries derived from WAL.
attempts: Vec<RunAttemptEntry>Attempt lineage entries derived from WAL.
lease: Option<RunLeaseEntry>Lease metadata if a lease is active.
block_reason: Option<&'static str>Block reason when the run is not Ready.
Trait Implementations§
Source§impl Clone for RunGetResponse
impl Clone for RunGetResponse
Source§fn clone(&self) -> RunGetResponse
fn clone(&self) -> RunGetResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 RunGetResponse
impl Debug for RunGetResponse
Auto Trait Implementations§
impl Freeze for RunGetResponse
impl RefUnwindSafe for RunGetResponse
impl Send for RunGetResponse
impl Sync for RunGetResponse
impl Unpin for RunGetResponse
impl UnsafeUnpin for RunGetResponse
impl UnwindSafe for RunGetResponse
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