pub struct CargoInvocation {
pub workspace_root: PathBuf,
pub target_dir: PathBuf,
pub build_dir: Option<PathBuf>,
pub target_dir_requested: bool,
pub build_identity: String,
}Expand description
Cargo-resolved roots and the stable prediction-manifest identity for one invocation.
Fields§
§workspace_root: PathBufCargo’s resolved workspace root.
target_dir: PathBufCargo’s resolved output directory.
build_dir: Option<PathBuf>Cargo’s intermediate build directory, when reported by this Cargo version.
target_dir_requested: boolWhether a flag, environment value, or Cargo configuration explicitly selected the target.
build_identity: StringCross-checkout identity used to select the action-prediction manifest.
Trait Implementations§
Source§impl Clone for CargoInvocation
impl Clone for CargoInvocation
Source§impl Debug for CargoInvocation
impl Debug for CargoInvocation
impl Eq for CargoInvocation
Source§impl PartialEq for CargoInvocation
impl PartialEq for CargoInvocation
impl StructuralPartialEq for CargoInvocation
Auto Trait Implementations§
impl Freeze for CargoInvocation
impl RefUnwindSafe for CargoInvocation
impl Send for CargoInvocation
impl Sync for CargoInvocation
impl Unpin for CargoInvocation
impl UnsafeUnpin for CargoInvocation
impl UnwindSafe for CargoInvocation
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