Struct cli::types::CommandSpec
source · pub struct CommandSpec {
pub command: String,
pub args: Option<Vec<String>>,
}Expand description
Command info
Fields§
§command: StringThe command to execute
args: Option<Vec<String>>The command args
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommandSpec
impl RefUnwindSafe for CommandSpec
impl Send for CommandSpec
impl Sync for CommandSpec
impl Unpin for CommandSpec
impl UnwindSafe for CommandSpec
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