pub struct Run {
pub id: RunId,
pub replay_of: Option<RunId>,
pub state: RunState,
pub runner: Option<String>,
pub created_at: Timestamp,
pub started_at: Option<Timestamp>,
pub ended_at: Option<Timestamp>,
pub log_bytes: Option<u64>,
pub log_outdated: bool,
pub verdict: Option<ReplayVerdict>,
pub version: u64,
}Expand description
A sandbox’s run, of its spec, recorded; or a replay of its recording.
Fields§
§id: RunId§replay_of: Option<RunId>The run whose recording this one replays, if it’s a replay.
state: RunState§runner: Option<String>The runner it was sent to, once it was.
created_at: TimestampWhen it was queued.
started_at: Option<Timestamp>§ended_at: Option<Timestamp>§log_bytes: Option<u64>The size of its log, which its runner keeps, once it ended; none for a replay, or a run that left no log.
log_outdated: boolWhether its log was made by another dvm than its runner’s now: a log replays only on the dvm that made it.
verdict: Option<ReplayVerdict>A replay’s, once it exited: whether it was the run it replayed.
version: u64How many times it changed: of two copies of a run, the one with the higher version is the newer.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Run
impl<'de> Deserialize<'de> for Run
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
impl Eq for Run
impl StructuralPartialEq for Run
Auto Trait Implementations§
impl Forget for Run
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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