pub struct BootstrapOptions {
pub mode: BootstrapMode,
pub write: bool,
pub force: bool,
pub setup_ignore: Option<bool>,
pub import_gitignore: Option<bool>,
pub ignore_extras: bool,
pub harvest_readme: bool,
pub module_map: bool,
pub scaffold_docs: bool,
pub write_agents_md: Option<bool>,
pub agents_template: Option<PathBuf>,
}Expand description
Options for bootstrap_workspace.
Fields§
§mode: BootstrapModeInteraction mode.
write: boolWrite files (false = dry-run report only).
force: boolOverwrite generated files that already exist.
setup_ignore: Option<bool>Create / update .rustbrainignore.
import_gitignore: Option<bool>Import root .gitignore into .rustbrainignore.
ignore_extras: boolAppend recommended extra ignore patterns.
harvest_readme: boolHarvest README into docs/goals/from-readme.md.
module_map: boolGenerate AST module map under docs/implementation/.
scaffold_docs: boolScaffold docs/ directory tree + templates.
write_agents_md: Option<bool>Write root AGENTS.md (agent cookbook for this repo). Default true when None.
agents_template: Option<PathBuf>Optional path to a custom AGENTS.md template file (overrides discovery + built-in).
Trait Implementations§
Source§impl Clone for BootstrapOptions
impl Clone for BootstrapOptions
Source§fn clone(&self) -> BootstrapOptions
fn clone(&self) -> BootstrapOptions
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 BootstrapOptions
impl Debug for BootstrapOptions
Auto Trait Implementations§
impl Freeze for BootstrapOptions
impl RefUnwindSafe for BootstrapOptions
impl Send for BootstrapOptions
impl Sync for BootstrapOptions
impl Unpin for BootstrapOptions
impl UnsafeUnpin for BootstrapOptions
impl UnwindSafe for BootstrapOptions
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