#[non_exhaustive]pub struct ExecutableArtifact {
pub package_id: PackageId,
pub target: Target,
pub profile: ArtifactProfile,
pub features: Vec<String>,
pub filenames: Vec<Utf8PathBuf>,
pub executable: Utf8PathBuf,
pub fresh: bool,
}
Expand description
Like cargo_metadata::Artifact
, but always has an executable
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.package_id: PackageId
The package this artifact belongs to
target: Target
The target this artifact was compiled for
profile: ArtifactProfile
The profile this artifact was compiled with
features: Vec<String>
The enabled features for this artifact
filenames: Vec<Utf8PathBuf>
The full paths to the generated artifacts (e.g. binary file and separate debug info)
executable: Utf8PathBuf
Path to the executable file
fresh: bool
If true, then the files were already generated
Trait Implementations§
Source§impl Clone for ExecutableArtifact
impl Clone for ExecutableArtifact
Source§fn clone(&self) -> ExecutableArtifact
fn clone(&self) -> ExecutableArtifact
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 Debug for ExecutableArtifact
impl Debug for ExecutableArtifact
Source§impl Hash for ExecutableArtifact
impl Hash for ExecutableArtifact
Source§impl PartialEq for ExecutableArtifact
impl PartialEq for ExecutableArtifact
impl Eq for ExecutableArtifact
impl StructuralPartialEq for ExecutableArtifact
Auto Trait Implementations§
impl Freeze for ExecutableArtifact
impl RefUnwindSafe for ExecutableArtifact
impl Send for ExecutableArtifact
impl Sync for ExecutableArtifact
impl Unpin for ExecutableArtifact
impl UnwindSafe for ExecutableArtifact
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