pub struct JobMutationOutcome {
pub harness: String,
pub verb: String,
pub ran: String,
pub id: String,
pub job: Option<ScheduledJob>,
pub deleted: Option<bool>,
}Expand description
What one mutation did, with the harness’s own row read back afterwards.
Fields§
§harness: StringHarness that ran the verb.
verb: StringUniform verb that was asked for.
ran: StringThe exact harness command that ran, credentials redacted.
id: StringAffected job id.
job: Option<ScheduledJob>The job as the harness’s own store reports it AFTER the verb.
Absent for delete.
deleted: Option<bool>true on a successful delete.
Trait Implementations§
Source§impl Clone for JobMutationOutcome
impl Clone for JobMutationOutcome
Source§fn clone(&self) -> JobMutationOutcome
fn clone(&self) -> JobMutationOutcome
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 JobMutationOutcome
impl Debug for JobMutationOutcome
Source§impl<'de> Deserialize<'de> for JobMutationOutcome
impl<'de> Deserialize<'de> for JobMutationOutcome
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobMutationOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobMutationOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JobMutationOutcome
impl PartialEq for JobMutationOutcome
Source§impl Serialize for JobMutationOutcome
impl Serialize for JobMutationOutcome
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 JobMutationOutcome
Auto Trait Implementations§
impl Freeze for JobMutationOutcome
impl RefUnwindSafe for JobMutationOutcome
impl Send for JobMutationOutcome
impl Sync for JobMutationOutcome
impl Unpin for JobMutationOutcome
impl UnsafeUnpin for JobMutationOutcome
impl UnwindSafe for JobMutationOutcome
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