pub struct ApplyOptions {
pub write: bool,
pub dry_run: bool,
pub discover: bool,
pub force_generated: bool,
pub limit: usize,
pub target: Option<String>,
pub sync_after: bool,
pub report_suggest: bool,
}Expand description
Options for apply_links.
Fields§
§write: boolWhen true, write files (requires explicit opt-in from CLI).
dry_run: boolWhen true with write, still plan but do not write (redundant safety).
discover: boolPhase 1: scan for unmarked entity mentions via Aho–Corasick.
force_generated: boolAllow rewriting files marked generated: true or .generated. paths.
limit: usizeMax edits that may be applied (or planned as auto when dry-run).
target: Option<String>Optional focus: path, node id, or title of source notes only.
sync_after: boolRun sync after successful writes (caller handles sync; flag is advisory in report).
report_suggest: boolInclude suggest-tier discover hits in the report (always; never auto-written).
Trait Implementations§
Source§impl Clone for ApplyOptions
impl Clone for ApplyOptions
Source§fn clone(&self) -> ApplyOptions
fn clone(&self) -> ApplyOptions
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 ApplyOptions
impl Debug for ApplyOptions
Auto Trait Implementations§
impl Freeze for ApplyOptions
impl RefUnwindSafe for ApplyOptions
impl Send for ApplyOptions
impl Sync for ApplyOptions
impl Unpin for ApplyOptions
impl UnsafeUnpin for ApplyOptions
impl UnwindSafe for ApplyOptions
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