pub struct RenameSectionReport {
pub concept: ConceptId,
pub old_section: String,
pub new_section: String,
pub old_slug: String,
pub new_slug: String,
pub internal_links_updated: usize,
pub external_links_updated: usize,
pub affected_files: Vec<PathBuf>,
pub dry_run: bool,
}Expand description
Summary report of a section rename operation.
Fields§
§concept: ConceptIdConcept ID containing the section.
old_section: StringOriginal section name / query.
new_section: StringNew section name.
old_slug: StringOld anchor slug.
new_slug: StringNew anchor slug.
internal_links_updated: usizeNumber of in-document anchors updated.
external_links_updated: usizeNumber of external backlinks updated across the bundle.
affected_files: Vec<PathBuf>Affected files.
dry_run: boolWhether this was a dry run.
Trait Implementations§
Source§impl Clone for RenameSectionReport
impl Clone for RenameSectionReport
Source§fn clone(&self) -> RenameSectionReport
fn clone(&self) -> RenameSectionReport
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 RenameSectionReport
impl Debug for RenameSectionReport
Source§impl Display for RenameSectionReport
impl Display for RenameSectionReport
impl Eq for RenameSectionReport
Source§impl PartialEq for RenameSectionReport
impl PartialEq for RenameSectionReport
impl StructuralPartialEq for RenameSectionReport
Auto Trait Implementations§
impl Freeze for RenameSectionReport
impl RefUnwindSafe for RenameSectionReport
impl Send for RenameSectionReport
impl Sync for RenameSectionReport
impl Unpin for RenameSectionReport
impl UnsafeUnpin for RenameSectionReport
impl UnwindSafe for RenameSectionReport
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