pub struct Artifact {
pub relative_path: PathBuf,
pub content: Vec<u8>,
pub executable: bool,
pub kind: ArtifactKind,
}Expand description
A generated file planned in memory before any filesystem write.
Fields§
§relative_path: PathBuf§content: Vec<u8>§executable: bool§kind: ArtifactKindTrait Implementations§
impl Eq for Artifact
impl StructuralPartialEq for Artifact
Auto Trait Implementations§
impl Freeze for Artifact
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnsafeUnpin for Artifact
impl UnwindSafe for Artifact
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