pub struct MoveReport {
pub source: ConceptId,
pub target: ConceptId,
pub source_path: PathBuf,
pub target_path: PathBuf,
pub rewritten_incoming_links: usize,
pub rebased_outgoing_links: usize,
pub rebased_frontmatter_paths: usize,
pub affected_files: Vec<PathBuf>,
pub dry_run: bool,
}Expand description
Summary report of a move/rename operation.
Fields§
§source: ConceptIdOriginal concept ID.
target: ConceptIdNew concept ID.
source_path: PathBufOriginal file path.
target_path: PathBufNew file path.
rewritten_incoming_links: usizeNumber of incoming links rewritten across the bundle.
rebased_outgoing_links: usizeNumber of outgoing relative links rebased in the moved concept.
rebased_frontmatter_paths: usizeNumber of frontmatter path fields rebased.
affected_files: Vec<PathBuf>List of all modified or created file paths.
dry_run: boolWhether this was a dry run.
Trait Implementations§
Source§impl Clone for MoveReport
impl Clone for MoveReport
Source§fn clone(&self) -> MoveReport
fn clone(&self) -> MoveReport
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 MoveReport
impl Debug for MoveReport
Source§impl Display for MoveReport
impl Display for MoveReport
impl Eq for MoveReport
Source§impl PartialEq for MoveReport
impl PartialEq for MoveReport
impl StructuralPartialEq for MoveReport
Auto Trait Implementations§
impl Freeze for MoveReport
impl RefUnwindSafe for MoveReport
impl Send for MoveReport
impl Sync for MoveReport
impl Unpin for MoveReport
impl UnsafeUnpin for MoveReport
impl UnwindSafe for MoveReport
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