[][src]Struct alt_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.

Fields

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]

impl Debug for Artifact[src]

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

impl Serialize for Artifact[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.