pub struct RunAddOptions {
pub project_dir: PathBuf,
pub spec: String,
pub docs_paths_arg: Option<String>,
pub clear_docs_paths: bool,
}Expand description
Options for run_add.
Fields§
§project_dir: PathBuf§spec: String§docs_paths_arg: Option<String>Raw CSV from --docs-paths. When Some, skips the interactive prompt.
clear_docs_paths: bool--clear-docs-paths — drop any existing docsPaths override.
Trait Implementations§
Source§impl Clone for RunAddOptions
impl Clone for RunAddOptions
Auto Trait Implementations§
impl Forget for RunAddOptions
impl Freeze for RunAddOptions
impl Move for RunAddOptions
impl RefUnwindSafe for RunAddOptions
impl Send for RunAddOptions
impl Sync for RunAddOptions
impl Unpin for RunAddOptions
impl UnsafeUnpin for RunAddOptions
impl UnwindSafe for RunAddOptions
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