pub struct UndoReceipt { /* private fields */ }Expand description
Public, artifact-free metadata for one exact retained commit.
Implementations§
Source§impl UndoReceipt
impl UndoReceipt
pub fn id(&self) -> &UndoId
pub const fn plan_fingerprint(&self) -> Sha256Hash
pub const fn before_fingerprint(&self) -> WorktreeSnapshotFingerprint
pub const fn after_fingerprint(&self) -> WorktreeSnapshotFingerprint
pub const fn touched_paths(&self) -> usize
pub const fn retained_bytes(&self) -> u64
Trait Implementations§
Source§impl Clone for UndoReceipt
impl Clone for UndoReceipt
Source§fn clone(&self) -> UndoReceipt
fn clone(&self) -> UndoReceipt
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 moreSource§impl Debug for UndoReceipt
impl Debug for UndoReceipt
impl Eq for UndoReceipt
Source§impl PartialEq for UndoReceipt
impl PartialEq for UndoReceipt
impl StructuralPartialEq for UndoReceipt
Auto Trait Implementations§
impl Freeze for UndoReceipt
impl RefUnwindSafe for UndoReceipt
impl Send for UndoReceipt
impl Sync for UndoReceipt
impl Unpin for UndoReceipt
impl UnsafeUnpin for UndoReceipt
impl UnwindSafe for UndoReceipt
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