pub struct ExecuteArgs {Show 13 fields
pub manifest_path: ManifestPath,
pub verbosity: Verbosity,
pub build_mode: BuildMode,
pub features: Features,
pub network: Network,
pub build_artifact: BuildArtifacts,
pub unstable_flags: UnstableFlags,
pub keep_debug_symbols: bool,
pub extra_lints: bool,
pub output_type: OutputType,
pub image: ImageVariant,
pub metadata_spec: Option<MetadataSpec>,
pub target_dir: Option<PathBuf>,
}Expand description
Arguments to use when executing build or check commands.
Fields§
§manifest_path: ManifestPathThe location of the Cargo manifest (Cargo.toml) file to use.
verbosity: Verbosity§build_mode: BuildMode§features: Features§network: Network§build_artifact: BuildArtifacts§unstable_flags: UnstableFlags§keep_debug_symbols: bool§extra_lints: bool§output_type: OutputType§image: ImageVariant§metadata_spec: Option<MetadataSpec>§target_dir: Option<PathBuf>Trait Implementations§
Source§impl Clone for ExecuteArgs
impl Clone for ExecuteArgs
Source§fn clone(&self) -> ExecuteArgs
fn clone(&self) -> ExecuteArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ExecuteArgs
impl Default for ExecuteArgs
Source§fn default() -> ExecuteArgs
fn default() -> ExecuteArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecuteArgs
impl RefUnwindSafe for ExecuteArgs
impl Send for ExecuteArgs
impl Sync for ExecuteArgs
impl Unpin for ExecuteArgs
impl UnwindSafe for ExecuteArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
Source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
Source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
Source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T. Read moreSource§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from.Source§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
Source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T.