pub struct MoveOptions {
pub dry_run: bool,
pub force: bool,
pub update_index: bool,
pub update_log: bool,
pub author: Option<String>,
}Expand description
Options for moving or renaming a concept.
Fields§
§dry_run: boolIf true, simulate changes without writing to disk.
force: boolOverwrite destination file if it exists.
update_index: boolRegenerate index.md listings after move.
update_log: boolRecord the move in log.md.
Author attribution for the log entry.
Trait Implementations§
Source§impl Clone for MoveOptions
impl Clone for MoveOptions
Source§fn clone(&self) -> MoveOptions
fn clone(&self) -> MoveOptions
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 MoveOptions
impl Debug for MoveOptions
Source§impl Default for MoveOptions
impl Default for MoveOptions
impl Eq for MoveOptions
Source§impl PartialEq for MoveOptions
impl PartialEq for MoveOptions
impl StructuralPartialEq for MoveOptions
Auto Trait Implementations§
impl Freeze for MoveOptions
impl RefUnwindSafe for MoveOptions
impl Send for MoveOptions
impl Sync for MoveOptions
impl Unpin for MoveOptions
impl UnsafeUnpin for MoveOptions
impl UnwindSafe for MoveOptions
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