pub struct ProjectedCommit {
pub real: ObjectId,
pub projected: ObjectId,
pub reused: bool,
}Expand description
One commit of a branch project showed the checkout.
Fields§
§real: ObjectIdThe real commit.
projected: ObjectIdWhat the checkout sees of it.
reused: boolWhether projected was there already: a checkout commit on the same
snapshots that the real one is the graft of (one of this checkout’s
own, or of a checkout with the same snapshots), or an earlier
projection.
Trait Implementations§
Source§impl Clone for ProjectedCommit
impl Clone for ProjectedCommit
impl Copy for ProjectedCommit
Source§impl Debug for ProjectedCommit
impl Debug for ProjectedCommit
impl Eq for ProjectedCommit
Source§impl PartialEq for ProjectedCommit
impl PartialEq for ProjectedCommit
impl StructuralPartialEq for ProjectedCommit
Auto Trait Implementations§
impl Freeze for ProjectedCommit
impl RefUnwindSafe for ProjectedCommit
impl Send for ProjectedCommit
impl Sync for ProjectedCommit
impl Unpin for ProjectedCommit
impl UnsafeUnpin for ProjectedCommit
impl UnwindSafe for ProjectedCommit
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§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.