#[non_exhaustive]pub struct WriteReport {
pub written: Vec<PathBuf>,
pub unchanged: Vec<PathBuf>,
pub renamed: Vec<(PathBuf, PathBuf)>,
pub removed: Vec<PathBuf>,
pub kept_edited: Vec<PathBuf>,
pub manifest: PathBuf,
}Expand description
What a write() did, path by path, relative to the output directory.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.written: Vec<PathBuf>Created or changed.
unchanged: Vec<PathBuf>Already held exactly the generated content; left untouched.
renamed: Vec<(PathBuf, PathBuf)>Renamed to a new spelling of the same name (old, new), as on a case-insensitive disk; also listed as written or unchanged.
removed: Vec<PathBuf>Owned by the previous run, no longer generated, and removed.
kept_edited: Vec<PathBuf>Owned by the previous run and no longer generated, but edited since, so kept on disk and dropped from the manifest.
manifest: PathBufThe manifest, relative to the output directory.
Trait Implementations§
Source§impl Clone for WriteReport
impl Clone for WriteReport
Source§impl Debug for WriteReport
impl Debug for WriteReport
Source§impl Default for WriteReport
impl Default for WriteReport
impl Eq for WriteReport
Source§impl PartialEq for WriteReport
impl PartialEq for WriteReport
impl StructuralPartialEq for WriteReport
Auto Trait Implementations§
impl Forget for WriteReport
impl Freeze for WriteReport
impl Move for WriteReport
impl RefUnwindSafe for WriteReport
impl Send for WriteReport
impl Sync for WriteReport
impl Unpin for WriteReport
impl UnsafeUnpin for WriteReport
impl UnwindSafe for WriteReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.