pub struct ImportOptions {
pub overwrite: bool,
pub renumber: bool,
pub dry_run: bool,
pub ng_mode: bool,
}Expand description
Options for importing ADRs.
Fields§
§overwrite: boolOverwrite existing files.
renumber: boolRenumber ADRs starting from the next available number.
dry_run: boolPreview import without writing files.
ng_mode: boolUse next-gen mode (YAML frontmatter).
Trait Implementations§
Source§impl Clone for ImportOptions
impl Clone for ImportOptions
Source§fn clone(&self) -> ImportOptions
fn clone(&self) -> ImportOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 ImportOptions
impl Debug for ImportOptions
Source§impl Default for ImportOptions
impl Default for ImportOptions
Source§fn default() -> ImportOptions
fn default() -> ImportOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImportOptions
impl RefUnwindSafe for ImportOptions
impl Send for ImportOptions
impl Sync for ImportOptions
impl Unpin for ImportOptions
impl UnwindSafe for ImportOptions
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