pub struct New {
pub project_name: String,
pub version: Option<String>,
pub no_defaults: bool,
}
Expand description
Options for the New subcommand. If version
is None, then it uses
the latest version available
Fields§
§project_name: String
§version: Option<String>
§no_defaults: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for New
impl RefUnwindSafe for New
impl Send for New
impl Sync for New
impl Unpin for New
impl UnwindSafe for New
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