pub struct ActiveJob {
pub lease: Lease,
pub process: Option<JobProcess>,
pub quiet_at_start: Option<bool>,
}Expand description
An active lease and the process its command runs as.
Fields§
§lease: LeaseThe lease.
process: Option<JobProcess>The command’s process, or None when the session has no process to show.
quiet_at_start: Option<bool>For a benchmark lease, whether the machine was quiet when it was granted; false means
it was granted anyway after the longest quiet wait. None for other leases and when
the daemon restarted since the grant.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ActiveJob
impl<'de> Deserialize<'de> for ActiveJob
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 ActiveJob
Auto Trait Implementations§
impl Forget for ActiveJob
impl Freeze for ActiveJob
impl RefUnwindSafe for ActiveJob
impl Send for ActiveJob
impl Sync for ActiveJob
impl Unpin for ActiveJob
impl UnsafeUnpin for ActiveJob
impl UnwindSafe for ActiveJob
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