pub struct Artifact<'a> {
pub package_id: WorkspaceMember<'a>,
pub target: Target<'a>,
pub profile: ArtifactProfile<'a>,
pub features: Vec<Cow<'a, str>>,
pub filenames: Vec<Cow<'a, Path>>,
pub fresh: bool,
/* private fields */
}
Expand description
A compiler-generated file.
Fields
package_id: WorkspaceMember<'a>
The workspace member this artifact belongs to
target: Target<'a>
The target this artifact was compiled for
profile: ArtifactProfile<'a>
The profile this artifact was compiled with
features: Vec<Cow<'a, str>>
The enabled features for this artifact
filenames: Vec<Cow<'a, Path>>
The full paths to the generated artifacts
fresh: bool
If true, then the files were already generated
Trait Implementations
sourceimpl<'de: 'a, 'a> Deserialize<'de> for Artifact<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Artifact<'a>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Artifact<'a>
impl<'a> Send for Artifact<'a>
impl<'a> Sync for Artifact<'a>
impl<'a> Unpin for Artifact<'a>
impl<'a> UnwindSafe for Artifact<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more