Struct clap_cargo::Workspace [−][src]
#[non_exhaustive]pub struct Workspace {
pub package: Vec<String>,
pub workspace: bool,
pub all: bool,
pub exclude: Vec<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.package: Vec<String>
Package to process (see cargo help pkgid
)
workspace: bool
Process all packages in the workspace
all: bool
Process all packages in the workspace
exclude: Vec<String>
Exclude packages from being processed
Implementations
Trait Implementations
Instantiate Self
from ArgMatches
, parsing the arguments as needed. Read more
Assign values from ArgMatches
to self
.
Auto Trait Implementations
impl RefUnwindSafe for Workspace
impl UnwindSafe for Workspace
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.