pub struct RunData {
pub job_id: String,
pub state: String,
pub env_vars: Vec<String>,
pub snapshot: Option<Snapshot>,
pub stdout_log_path: String,
pub stderr_log_path: String,
pub waited_ms: u64,
pub elapsed_ms: u64,
pub exit_code: Option<i32>,
pub finished_at: Option<String>,
pub final_snapshot: Option<Snapshot>,
}Expand description
Response for run command.
Fields§
§job_id: String§state: String§env_vars: Vec<String>Environment variables passed to the job, with masked values replaced by “***”. Omitted from JSON when empty.
snapshot: Option<Snapshot>Present when snapshot_after elapsed before run returned.
stdout_log_path: StringAbsolute path to stdout.log for this job.
stderr_log_path: StringAbsolute path to stderr.log for this job.
waited_ms: u64Milliseconds actually waited for snapshot (0 when snapshot_after=0).
elapsed_ms: u64Wall-clock milliseconds from run invocation start to JSON output.
exit_code: Option<i32>Exit code of the process; present only when --wait is used and job has terminated.
finished_at: Option<String>RFC 3339 timestamp when the job finished; present only when --wait is used.
final_snapshot: Option<Snapshot>Final log tail snapshot taken after job completion; present only when --wait is used.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunData
impl<'de> Deserialize<'de> for RunData
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 RunData
impl RefUnwindSafe for RunData
impl Send for RunData
impl Sync for RunData
impl Unpin for RunData
impl UnsafeUnpin for RunData
impl UnwindSafe for RunData
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