pub struct ActivityArtifact {
pub path: PathBuf,
pub relative: String,
pub contents: String,
}Expand description
One generated file: its path and fully-rendered contents.
Fields§
§path: PathBufAbsolute path the file is written to or checked against.
relative: StringProject-root-relative path, for the CLI’s JSON report.
contents: StringThe fully-rendered file contents, built before any write.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActivityArtifact
impl RefUnwindSafe for ActivityArtifact
impl Send for ActivityArtifact
impl Sync for ActivityArtifact
impl Unpin for ActivityArtifact
impl UnsafeUnpin for ActivityArtifact
impl UnwindSafe for ActivityArtifact
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