pub struct Args {
pub command: CommandType,
pub project_name: Option<String>,
pub template_type: Option<TemplateType>,
pub model_sub_type: Option<ModelSubType>,
pub component_name: Option<String>,
}Expand description
Parsed command line arguments
Fields§
§command: CommandTypeThe command to execute
project_name: Option<String>Project name for new command
template_type: Option<TemplateType>Template type for template command
model_sub_type: Option<ModelSubType>Model subtype for template command (only when template_type is Model)
component_name: Option<String>Component name for template command
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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