pub struct AddArgs {
pub feature: String,
pub project_root: Option<PathBuf>,
pub dep_name: String,
}Expand description
Decoded form of the add subcommand.
Fields§
§feature: StringFeature name (e.g. openapi, devtools, macros, config).
project_root: Option<PathBuf>Override the project root.
dep_name: StringProject’s package name in Cargo.toml is kick-rs. Override if
the adopter renamed it (unlikely but supported).
Auto Trait Implementations§
impl Freeze for AddArgs
impl RefUnwindSafe for AddArgs
impl Send for AddArgs
impl Sync for AddArgs
impl Unpin for AddArgs
impl UnsafeUnpin for AddArgs
impl UnwindSafe for AddArgs
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