pub struct RecentRun {
pub lease_id: Option<LeaseId>,
pub session: Option<SessionKey>,
pub command: String,
pub cwd: String,
pub declared: JobProfile,
pub started_at_ms: i64,
pub ended_at_ms: i64,
pub end_cause: Option<EndCause>,
pub noise: Option<NoiseReport>,
}Expand description
A finished job.
Fields§
§lease_id: Option<LeaseId>Lease the job ran under, if the lease is still stored.
session: Option<SessionKey>Session that ran it; None for runs recorded before sessions were.
command: StringThe lease’s label, usually the command as it was run.
cwd: StringWorking directory of the command.
declared: JobProfileProfile the lease reserved.
started_at_ms: i64Start of the run, in milliseconds since the Unix epoch.
ended_at_ms: i64End of the run, in milliseconds since the Unix epoch.
end_cause: Option<EndCause>Why it ended; None for runs recorded before causes were.
noise: Option<NoiseReport>Background load during the run; present only for benchmark leases.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RecentRun
impl<'de> Deserialize<'de> for RecentRun
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 StructuralPartialEq for RecentRun
Auto Trait Implementations§
impl Forget for RecentRun
impl Freeze for RecentRun
impl Move for RecentRun
impl RefUnwindSafe for RecentRun
impl Send for RecentRun
impl Sync for RecentRun
impl Unpin for RecentRun
impl UnsafeUnpin for RecentRun
impl UnwindSafe for RecentRun
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