pub struct JobsApplyOutcome {
pub harness: String,
pub created: Vec<JobMutationOutcome>,
pub updated: Vec<JobMutationOutcome>,
pub unchanged: Vec<AppliedJob>,
pub unnamed: Vec<AppliedJob>,
pub drift: Vec<AppliedJob>,
pub refused: Vec<AppliedJob>,
pub planned: Vec<AppliedJob>,
}Expand description
What one jobs.apply did, every outcome the harness’s own answer.
Fields§
§harness: StringHarness the spec was applied to.
created: Vec<JobMutationOutcome>Jobs created, each with the row the harness reports after the last verb
that touched it (the pause, for a job declared enabled: false).
updated: Vec<JobMutationOutcome>Jobs edited, each with the row the harness reports afterwards.
unchanged: Vec<AppliedJob>Declared jobs that already match.
unnamed: Vec<AppliedJob>Existing jobs the spec does not name, left as they are.
drift: Vec<AppliedJob>Existing jobs whose operator-owned state differs from the spec.
refused: Vec<AppliedJob>Declared jobs apply would not or could not act on, and why.
planned: Vec<AppliedJob>With plan, the verbs that would run.
Trait Implementations§
Source§impl Clone for JobsApplyOutcome
impl Clone for JobsApplyOutcome
Source§fn clone(&self) -> JobsApplyOutcome
fn clone(&self) -> JobsApplyOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JobsApplyOutcome
impl Debug for JobsApplyOutcome
Source§impl Default for JobsApplyOutcome
impl Default for JobsApplyOutcome
Source§fn default() -> JobsApplyOutcome
fn default() -> JobsApplyOutcome
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobsApplyOutcome
impl<'de> Deserialize<'de> for JobsApplyOutcome
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobsApplyOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobsApplyOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JobsApplyOutcome
impl PartialEq for JobsApplyOutcome
Source§impl Serialize for JobsApplyOutcome
impl Serialize for JobsApplyOutcome
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for JobsApplyOutcome
Auto Trait Implementations§
impl Freeze for JobsApplyOutcome
impl RefUnwindSafe for JobsApplyOutcome
impl Send for JobsApplyOutcome
impl Sync for JobsApplyOutcome
impl Unpin for JobsApplyOutcome
impl UnsafeUnpin for JobsApplyOutcome
impl UnwindSafe for JobsApplyOutcome
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