pub struct SnapshotMaterializationReport {
pub ref_name: String,
pub planned_files: usize,
pub written_files: usize,
pub unchanged_files: usize,
pub total_content_bytes: u64,
pub paths: Vec<String>,
}Expand description
Result of an opt-in snapshot worktree materialization.
Fields§
§ref_name: StringHuman-readable ref name.
planned_files: usizeNumber of files described by the snapshot manifest.
written_files: usizeNumber of files written by this invocation.
unchanged_files: usizeNumber of files already present with identical bytes.
total_content_bytes: u64Total content bytes represented by the snapshot manifest.
paths: Vec<String>Repository-relative paths in materialization order.
Trait Implementations§
Source§impl Clone for SnapshotMaterializationReport
impl Clone for SnapshotMaterializationReport
Source§fn clone(&self) -> SnapshotMaterializationReport
fn clone(&self) -> SnapshotMaterializationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for SnapshotMaterializationReport
impl StructuralPartialEq for SnapshotMaterializationReport
Auto Trait Implementations§
impl Freeze for SnapshotMaterializationReport
impl RefUnwindSafe for SnapshotMaterializationReport
impl Send for SnapshotMaterializationReport
impl Sync for SnapshotMaterializationReport
impl Unpin for SnapshotMaterializationReport
impl UnsafeUnpin for SnapshotMaterializationReport
impl UnwindSafe for SnapshotMaterializationReport
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