pub struct Plan {Show 14 fields
pub schema: &'static str,
pub identity: Identity,
pub classification: Classification,
pub findings: Vec<Finding>,
pub desired_state: DesiredState,
pub observed_state: ObservedState,
pub release: Release,
pub operations: Vec<Operation>,
pub preconditions: Vec<Precondition>,
pub decisions: Vec<Decision>,
pub postconditions: Vec<Postcondition>,
pub evidence: Vec<EvidenceItem>,
pub readiness: Readiness,
pub input_fingerprint: Digest,
}Expand description
The plan, whole.
Fields§
§schema: &'static strThe shape version of this document.
identity: IdentityWho computed it, when, under which id.
classification: ClassificationWhich procedure this plan is.
findings: Vec<Finding>What the classification compresses.
desired_state: DesiredStateWhat the target is asked to converge toward.
observed_state: ObservedStateWhat the target was found to be.
release: ReleaseThe candidate bundle and what is known about it.
operations: Vec<Operation>The typed changes, in apply order.
preconditions: Vec<Precondition>Each with its requirement and its evaluation.
decisions: Vec<Decision>The questions the operator owns, with their selected answers.
postconditions: Vec<Postcondition>The typed checks an apply runs at the end and reports.
evidence: Vec<EvidenceItem>Every observed value, cited by the fields above.
readiness: ReadinessWhether the plan may be applied.
input_fingerprint: DigestOne canonical digest over the semantic inputs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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