pub struct CargoCompilerArtifact {
pub package_id: String,
pub manifest_path: PathBuf,
pub target: CargoArtifactTarget,
pub profile: Value,
pub features: BTreeSet<String>,
pub filenames: BTreeSet<PathBuf>,
pub executable: Option<PathBuf>,
pub fresh: bool,
}Expand description
One strictly parsed Cargo compiler-artifact message.
Fields§
§package_id: StringCargo package ID, exactly as Cargo emitted it.
manifest_path: PathBufManifest path reported by Cargo.
target: CargoArtifactTargetTarget identity reported by Cargo.
profile: ValueProfile object reported by Cargo.
features: BTreeSet<String>Enabled features, normalized for exact matching.
filenames: BTreeSet<PathBuf>Exact artifact paths reported by Cargo.
executable: Option<PathBuf>Executable path, when this target has one.
fresh: boolWhether Cargo reused the artifact.
Trait Implementations§
Source§impl Clone for CargoCompilerArtifact
impl Clone for CargoCompilerArtifact
Source§fn clone(&self) -> CargoCompilerArtifact
fn clone(&self) -> CargoCompilerArtifact
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 CargoCompilerArtifact
impl Debug for CargoCompilerArtifact
Source§impl<'de> Deserialize<'de> for CargoCompilerArtifact
impl<'de> Deserialize<'de> for CargoCompilerArtifact
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CargoCompilerArtifact, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CargoCompilerArtifact, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&CargoCompilerArtifact> for FinalCargoArtifactReport
impl From<&CargoCompilerArtifact> for FinalCargoArtifactReport
Source§fn from(artifact: &CargoCompilerArtifact) -> FinalCargoArtifactReport
fn from(artifact: &CargoCompilerArtifact) -> FinalCargoArtifactReport
Converts to this type from the input type.
Source§impl PartialEq for CargoCompilerArtifact
impl PartialEq for CargoCompilerArtifact
Source§impl Serialize for CargoCompilerArtifact
impl Serialize for CargoCompilerArtifact
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CargoCompilerArtifact
Auto Trait Implementations§
impl Forget for CargoCompilerArtifact
impl Freeze for CargoCompilerArtifact
impl Move for CargoCompilerArtifact
impl RefUnwindSafe for CargoCompilerArtifact
impl Send for CargoCompilerArtifact
impl Sync for CargoCompilerArtifact
impl Unpin for CargoCompilerArtifact
impl UnsafeUnpin for CargoCompilerArtifact
impl UnwindSafe for CargoCompilerArtifact
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 more