Struct maelstrom_base::JobSuccess
source · pub struct JobSuccess {
pub status: JobStatus,
pub stdout: JobOutputResult,
pub stderr: JobOutputResult,
}Expand description
The output of a job that was successfully executed. This doesn’t mean that the client will be happy with the job’s output. Maybe the job was killed by a signal, or it exited with an error status code. From our point of view, it doesn’t matter. We ran the job until it was terminated, and gathered its output.
Fields§
§status: JobStatus§stdout: JobOutputResult§stderr: JobOutputResultTrait Implementations§
source§impl Clone for JobSuccess
impl Clone for JobSuccess
source§fn clone(&self) -> JobSuccess
fn clone(&self) -> JobSuccess
Returns a copy 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 JobSuccess
impl Debug for JobSuccess
source§impl<'de> Deserialize<'de> for JobSuccess
impl<'de> Deserialize<'de> for JobSuccess
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 PartialEq for JobSuccess
impl PartialEq for JobSuccess
source§fn eq(&self, other: &JobSuccess) -> bool
fn eq(&self, other: &JobSuccess) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for JobSuccess
impl Serialize for JobSuccess
impl StructuralPartialEq for JobSuccess
Auto Trait Implementations§
impl RefUnwindSafe for JobSuccess
impl Send for JobSuccess
impl Sync for JobSuccess
impl Unpin for JobSuccess
impl UnwindSafe for JobSuccess
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