pub struct Result {
pub schema: String,
pub plan_id: String,
pub fingerprint: Sha256,
pub result_id: String,
pub disposition: Disposition,
pub finished_at: String,
pub operations: Vec<OperationOutcome>,
pub postconditions: Vec<PostconditionOutcome>,
pub recovery_required: bool,
pub affected: Vec<String>,
pub reason: String,
}Expand description
What one apply did.
Fields§
§schema: StringThe machine schema of this object.
plan_id: StringThe plan this result is for.
fingerprint: Sha256The fingerprint that plan carried.
result_id: StringA stable identifier for this attempt.
disposition: DispositionHow it ended.
finished_at: StringWhen it ended.
operations: Vec<OperationOutcome>What each operation did.
postconditions: Vec<PostconditionOutcome>What each postcondition found.
recovery_required: boolWhether a journal is outstanding.
affected: Vec<String>Every path this attempt touched, relative to the target.
reason: StringWhy it ended as it did, in one sentence.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Result
impl<'de> Deserialize<'de> for Result
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
impl Eq for Result
impl StructuralPartialEq for Result
Auto Trait Implementations§
impl Freeze for Result
impl RefUnwindSafe for Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl UnsafeUnpin for Result
impl UnwindSafe for Result
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.