pub struct MergeOptions {
pub heading: Option<String>,
pub force: bool,
pub dry_run: bool,
pub update_index: bool,
pub update_log: bool,
pub author: Option<String>,
}Expand description
Options for merging one concept into another.
Fields§
§heading: Option<String>Optional heading under which to append source content in target.
force: boolForce merge even if non-fatal warnings exist.
dry_run: boolIf true, simulate changes without writing to disk.
update_index: boolRegenerate index.md listings after merge.
update_log: boolRecord the merge in log.md.
Author attribution for the log entry.
Trait Implementations§
Source§impl Clone for MergeOptions
impl Clone for MergeOptions
Source§fn clone(&self) -> MergeOptions
fn clone(&self) -> MergeOptions
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 MergeOptions
impl Debug for MergeOptions
Source§impl Default for MergeOptions
impl Default for MergeOptions
impl Eq for MergeOptions
Source§impl PartialEq for MergeOptions
impl PartialEq for MergeOptions
impl StructuralPartialEq for MergeOptions
Auto Trait Implementations§
impl Freeze for MergeOptions
impl RefUnwindSafe for MergeOptions
impl Send for MergeOptions
impl Sync for MergeOptions
impl Unpin for MergeOptions
impl UnsafeUnpin for MergeOptions
impl UnwindSafe for MergeOptions
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