pub struct JobEffects {
pub stdout: JobOutputResult,
pub stderr: JobOutputResult,
pub duration: Duration,
}Expand description
The output and duration of a job that ran for some amount of time. This is generated regardless of how the job terminated. From our point of view, it doesn’t matter. We ran the job until it was terminated, and gathered its output.
Fields§
§stdout: JobOutputResult§stderr: JobOutputResult§duration: DurationTrait Implementations§
Source§impl Clone for JobEffects
impl Clone for JobEffects
Source§fn clone(&self) -> JobEffects
fn clone(&self) -> JobEffects
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 JobEffects
impl Debug for JobEffects
Source§impl<'de> Deserialize<'de> for JobEffects
impl<'de> Deserialize<'de> for JobEffects
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
Source§impl Ord for JobEffects
impl Ord for JobEffects
Source§fn cmp(&self, other: &JobEffects) -> Ordering
fn cmp(&self, other: &JobEffects) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for JobEffects
impl PartialEq for JobEffects
Source§impl PartialOrd for JobEffects
impl PartialOrd for JobEffects
Source§impl Serialize for JobEffects
impl Serialize for JobEffects
impl Eq for JobEffects
impl StructuralPartialEq for JobEffects
Auto Trait Implementations§
impl Freeze for JobEffects
impl RefUnwindSafe for JobEffects
impl Send for JobEffects
impl Sync for JobEffects
impl Unpin for JobEffects
impl UnwindSafe for JobEffects
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