pub struct PreparedEdit {
pub result: EditResult,
pub source_sha256: String,
pub request_sha256: String,
pub primary: Vec<u8>,
pub primary_bytes: PrimaryBytes,
pub primary_sha256: String,
pub primary_effect: Effect,
pub checks: CandidateChecks,
pub correspondence: Option<SourceToOutputCorrespondence>,
pub skipped: Vec<SkippedOperation>,
}Expand description
A plan applied and verified in memory, up to publication.
Fields§
§result: EditResultThe v1 artifacts: clean copy, redline and per-operation report.
source_sha256: StringSHA-256 of the original source.
request_sha256: StringSHA-256 of the normalized plan JSON the engine applied.
primary: Vec<u8>The chosen primary bytes, the same bytes checks describe.
primary_bytes: PrimaryBytesWhich bytes primary holds.
primary_sha256: StringSHA-256 of primary: output digests come from the checked bytes.
primary_effect: EffectThe primary transaction’s document effect (changed/unchanged
only; not_applied belongs to the dry-run envelope).
checks: CandidateChecksBaseline and introduced findings on the primary’s basis.
correspondence: Option<SourceToOutputCorrespondence>Source paragraph → chosen-primary correspondence for --expect
(V2-13). None on the v1 path, whose published primary is a
comparer redline with no tracked correspondence: a v1 plan plus
--expect refuses instead of guessing.
skipped: Vec<SkippedOperation>The operations PrepareOptions::skip_failed left out, in plan
order; empty otherwise.
Trait Implementations§
Source§impl Clone for PreparedEdit
impl Clone for PreparedEdit
Source§fn clone(&self) -> PreparedEdit
fn clone(&self) -> PreparedEdit
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more