Struct maelstrom_base::JobCompleted
source · pub struct JobCompleted {
pub status: JobStatus,
pub effects: JobEffects,
}Expand description
The outcome of a completed job. That is, a job that ran to completion, instead of timing out, being canceled, etc.
Fields§
§status: JobStatus§effects: JobEffectsTrait Implementations§
source§impl Clone for JobCompleted
impl Clone for JobCompleted
source§fn clone(&self) -> JobCompleted
fn clone(&self) -> JobCompleted
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 JobCompleted
impl Debug for JobCompleted
source§impl<'de> Deserialize<'de> for JobCompleted
impl<'de> Deserialize<'de> for JobCompleted
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 JobCompleted
impl Ord for JobCompleted
source§fn cmp(&self, other: &JobCompleted) -> Ordering
fn cmp(&self, other: &JobCompleted) -> 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 JobCompleted
impl PartialEq for JobCompleted
source§fn eq(&self, other: &JobCompleted) -> bool
fn eq(&self, other: &JobCompleted) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for JobCompleted
impl PartialOrd for JobCompleted
source§fn partial_cmp(&self, other: &JobCompleted) -> Option<Ordering>
fn partial_cmp(&self, other: &JobCompleted) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for JobCompleted
impl Serialize for JobCompleted
impl Eq for JobCompleted
impl StructuralPartialEq for JobCompleted
Auto Trait Implementations§
impl Freeze for JobCompleted
impl RefUnwindSafe for JobCompleted
impl Send for JobCompleted
impl Sync for JobCompleted
impl Unpin for JobCompleted
impl UnwindSafe for JobCompleted
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