pub struct InitConfig {
pub repo_path: PathBuf,
pub workspace_root: PathBuf,
pub crate_filter: Option<String>,
pub crate_seq_version: String,
}Expand description
Configuration for the init command.
Fields§
§repo_path: PathBufRoot of the repository (for git tag discovery).
workspace_root: PathBufRoot workspace Cargo.toml directory.
crate_filter: Option<String>If Some, initialise only the named crate. If None, initialise all members.
crate_seq_version: StringVersion of crate-seq itself, for the crates.io User-Agent header.
Auto Trait Implementations§
impl Freeze for InitConfig
impl RefUnwindSafe for InitConfig
impl Send for InitConfig
impl Sync for InitConfig
impl Unpin for InitConfig
impl UnsafeUnpin for InitConfig
impl UnwindSafe for InitConfig
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