Struct cargo::ops::PackageOpts
source · [−]pub struct PackageOpts<'cfg> {
pub config: &'cfg Config,
pub list: bool,
pub check_metadata: bool,
pub allow_dirty: bool,
pub verify: bool,
pub jobs: Option<i32>,
pub keep_going: bool,
pub to_package: Packages,
pub targets: Vec<String>,
pub cli_features: CliFeatures,
}
Fields
config: &'cfg Config
list: bool
check_metadata: bool
allow_dirty: bool
verify: bool
jobs: Option<i32>
keep_going: bool
to_package: Packages
targets: Vec<String>
cli_features: CliFeatures
Auto Trait Implementations
impl<'cfg> !RefUnwindSafe for PackageOpts<'cfg>
impl<'cfg> !Send for PackageOpts<'cfg>
impl<'cfg> !Sync for PackageOpts<'cfg>
impl<'cfg> Unpin for PackageOpts<'cfg>
impl<'cfg> !UnwindSafe for PackageOpts<'cfg>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more