[][src]Struct cargo_metadata::Artifact

pub struct Artifact {
    pub package_id: PackageId,
    pub target: Target,
    pub profile: ArtifactProfile,
    pub features: Vec<String>,
    pub filenames: Vec<PathBuf>,
    pub executable: Option<PathBuf>,
    pub fresh: bool,
    // some fields omitted

A compiler-generated file.


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<PathBuf>

The full paths to the generated artifacts (e.g. binary file and separate debug info)

executable: Option<PathBuf>

Path to the executable file

fresh: bool

If true, then the files were already generated

Trait Implementations

impl Clone for Artifact[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Artifact[src]

impl Serialize for Artifact[src]

impl<'de> Deserialize<'de> for Artifact[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>,