pub struct MergeReport {
pub source: ConceptId,
pub target: ConceptId,
pub removed_path: PathBuf,
pub updated_path: PathBuf,
pub rewritten_links_count: usize,
pub merged_sources_count: usize,
pub affected_files: Vec<PathBuf>,
pub dry_run: bool,
}Expand description
Summary report of a merge operation.
Fields§
§source: ConceptIdSource concept that was merged and removed.
target: ConceptIdTarget concept that received the merged content.
removed_path: PathBufPath of the removed source file.
updated_path: PathBufPath of the updated target file.
rewritten_links_count: usizeNumber of incoming links rewritten from source to target.
merged_sources_count: usizeNumber of sources merged into target frontmatter.
affected_files: Vec<PathBuf>List of all modified or removed file paths.
dry_run: boolWhether this was a dry run.
Trait Implementations§
Source§impl Clone for MergeReport
impl Clone for MergeReport
Source§fn clone(&self) -> MergeReport
fn clone(&self) -> MergeReport
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 MergeReport
impl Debug for MergeReport
Source§impl Display for MergeReport
impl Display for MergeReport
impl Eq for MergeReport
Source§impl PartialEq for MergeReport
impl PartialEq for MergeReport
impl StructuralPartialEq for MergeReport
Auto Trait Implementations§
impl Freeze for MergeReport
impl RefUnwindSafe for MergeReport
impl Send for MergeReport
impl Sync for MergeReport
impl Unpin for MergeReport
impl UnsafeUnpin for MergeReport
impl UnwindSafe for MergeReport
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