pub struct CargoInvocation {
pub workspace_root: PathBuf,
pub target_dir: 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.
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§fn clone(&self) -> CargoInvocation
fn clone(&self) -> CargoInvocation
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 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