pub struct SplitReport {
pub source: ConceptId,
pub target: ConceptId,
pub section: String,
pub target_title: String,
pub target_path: PathBuf,
pub extracted_lines_count: usize,
pub moved_sources_count: usize,
pub affected_files: Vec<PathBuf>,
pub dry_run: bool,
}Expand description
Summary report of a split operation.
Fields§
§source: ConceptIdSource concept ID.
target: ConceptIdNewly created target concept ID.
section: StringName of the extracted section.
target_title: StringTitle of the newly created concept.
target_path: PathBufFile path of the new concept document.
extracted_lines_count: usizeNumber of lines extracted.
moved_sources_count: usizeNumber of sources/footnotes moved or copied.
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 SplitReport
impl Clone for SplitReport
Source§fn clone(&self) -> SplitReport
fn clone(&self) -> SplitReport
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 SplitReport
impl Debug for SplitReport
Source§impl Display for SplitReport
impl Display for SplitReport
impl Eq for SplitReport
Source§impl PartialEq for SplitReport
impl PartialEq for SplitReport
impl StructuralPartialEq for SplitReport
Auto Trait Implementations§
impl Freeze for SplitReport
impl RefUnwindSafe for SplitReport
impl Send for SplitReport
impl Sync for SplitReport
impl Unpin for SplitReport
impl UnsafeUnpin for SplitReport
impl UnwindSafe for SplitReport
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