pub struct UpdateReportDocument {
pub schema_version: u32,
pub dry_run: bool,
pub items: Vec<UpdateItemDocument>,
}Expand description
Top-level JSON document shape for an update run (FR-021).
Fields§
§schema_version: u32The schema version this document was produced under.
dry_run: boolWhether --dry-run was passed — when true, every "applied" item’s edit was
planned but not written to disk (critic finding M1/US-005: without this marker,
a --dry-run document is indistinguishable from a real run that wrote its edits).
items: Vec<UpdateItemDocument>One entry per candidate dependency the planner considered.
Trait Implementations§
Source§impl Debug for UpdateReportDocument
impl Debug for UpdateReportDocument
Source§impl<'de> Deserialize<'de> for UpdateReportDocument
impl<'de> Deserialize<'de> for UpdateReportDocument
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
Source§impl PartialEq for UpdateReportDocument
impl PartialEq for UpdateReportDocument
Source§impl Serialize for UpdateReportDocument
impl Serialize for UpdateReportDocument
impl StructuralPartialEq for UpdateReportDocument
Auto Trait Implementations§
impl Freeze for UpdateReportDocument
impl RefUnwindSafe for UpdateReportDocument
impl Send for UpdateReportDocument
impl Sync for UpdateReportDocument
impl Unpin for UpdateReportDocument
impl UnsafeUnpin for UpdateReportDocument
impl UnwindSafe for UpdateReportDocument
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more