pub struct RenameSectionOptions {
pub dry_run: bool,
pub update_log: bool,
pub author: Option<String>,
}Expand description
Options for renaming a section heading within a concept.
Fields§
§dry_run: boolIf true, simulate changes without writing to disk.
update_log: boolRecord the section rename in log.md.
Author attribution for the log entry.
Trait Implementations§
Source§impl Clone for RenameSectionOptions
impl Clone for RenameSectionOptions
Source§fn clone(&self) -> RenameSectionOptions
fn clone(&self) -> RenameSectionOptions
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 RenameSectionOptions
impl Debug for RenameSectionOptions
Source§impl Default for RenameSectionOptions
impl Default for RenameSectionOptions
impl Eq for RenameSectionOptions
Source§impl PartialEq for RenameSectionOptions
impl PartialEq for RenameSectionOptions
impl StructuralPartialEq for RenameSectionOptions
Auto Trait Implementations§
impl Freeze for RenameSectionOptions
impl RefUnwindSafe for RenameSectionOptions
impl Send for RenameSectionOptions
impl Sync for RenameSectionOptions
impl Unpin for RenameSectionOptions
impl UnsafeUnpin for RenameSectionOptions
impl UnwindSafe for RenameSectionOptions
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