pub struct DetectInput {
pub skill_dir: Option<String>,
pub skill: Option<String>,
pub bootstrap: Option<String>,
pub workspace_dir: Option<String>,
pub harness: Option<Harness>,
pub cwd: Option<PathBuf>,
}Expand description
Already-parsed flag values handed to detect_run_context. clap owns the
actual argv parsing (and, once wired, the harness ValueEnum rejection); this
struct carries the raw values through to filesystem validation and defaulting.
Fields§
§skill_dir: Option<String>§skill: Option<String>§bootstrap: Option<String>§workspace_dir: Option<String>§harness: Option<Harness>§cwd: Option<PathBuf>Trait Implementations§
Source§impl Clone for DetectInput
impl Clone for DetectInput
Source§fn clone(&self) -> DetectInput
fn clone(&self) -> DetectInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DetectInput
impl Debug for DetectInput
Source§impl Default for DetectInput
impl Default for DetectInput
Source§fn default() -> DetectInput
fn default() -> DetectInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DetectInput
impl RefUnwindSafe for DetectInput
impl Send for DetectInput
impl Sync for DetectInput
impl Unpin for DetectInput
impl UnsafeUnpin for DetectInput
impl UnwindSafe for DetectInput
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