pub struct EditsRecorded {
pub copy: CopyState,
pub version: Option<Hash>,
}Expand description
What recording the edits of a checkout’s copy did.
Fields§
§copy: CopyStateWhether the copy was unchanged, edited or gone, as its hash told.
version: Option<Hash>The content hash of the new version that its edits made, if it was edited.
Trait Implementations§
Source§impl Clone for EditsRecorded
impl Clone for EditsRecorded
impl Copy for EditsRecorded
Source§impl Debug for EditsRecorded
impl Debug for EditsRecorded
impl Eq for EditsRecorded
Source§impl PartialEq for EditsRecorded
impl PartialEq for EditsRecorded
impl StructuralPartialEq for EditsRecorded
Auto Trait Implementations§
impl Forget for EditsRecorded
impl Freeze for EditsRecorded
impl Move for EditsRecorded
impl RefUnwindSafe for EditsRecorded
impl Send for EditsRecorded
impl Sync for EditsRecorded
impl Unpin for EditsRecorded
impl UnsafeUnpin for EditsRecorded
impl UnwindSafe for EditsRecorded
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.