pub struct ApplyReport {Show 15 fields
pub write_requested: bool,
pub dry_run: bool,
pub discover: bool,
pub written: usize,
pub auto_planned: usize,
pub suggest_planned: usize,
pub skipped: usize,
pub files_written: Vec<String>,
pub files_planned: Vec<String>,
pub edits: Vec<ApplyEdit>,
pub warnings: Vec<String>,
pub recommend_sync: bool,
pub ambiguous_surfaces: usize,
pub lexicon_cache_hit: bool,
pub style: ApplyStyle,
}Expand description
Aggregate report from apply_links.
Fields§
§write_requested: boolWhether writes were requested.
dry_run: boolWhether this run was dry-run (no mutations).
discover: boolWhether discover mode was enabled.
written: usizeEdits actually written.
auto_planned: usizeAuto-tier plans (written or would write).
suggest_planned: usizeSuggest-tier plans (report only).
skipped: usizeSkips (all kinds).
files_written: Vec<String>Files that changed on disk.
files_planned: Vec<String>Files that would change (dry-run).
edits: Vec<ApplyEdit>Detail rows (capped in text display; full in JSON).
warnings: Vec<String>Non-fatal issues.
recommend_sync: boolWhether caller should sync after write.
ambiguous_surfaces: usizeSurfaces excluded from discover because they map to multiple nodes.
lexicon_cache_hit: boolWhether the LinkLexicon was loaded from .brain/link_lexicon.json cache.
style: ApplyStyleDiscover style used.
Implementations§
Trait Implementations§
Source§impl Clone for ApplyReport
impl Clone for ApplyReport
Source§fn clone(&self) -> ApplyReport
fn clone(&self) -> ApplyReport
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 ApplyReport
impl Debug for ApplyReport
Source§impl<'de> Deserialize<'de> for ApplyReport
impl<'de> Deserialize<'de> for ApplyReport
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
Auto Trait Implementations§
impl Freeze for ApplyReport
impl RefUnwindSafe for ApplyReport
impl Send for ApplyReport
impl Sync for ApplyReport
impl Unpin for ApplyReport
impl UnsafeUnpin for ApplyReport
impl UnwindSafe for ApplyReport
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