pub struct WorkspaceStanding {
pub ahead: Option<usize>,
pub newest_ahead: Vec<ObjectId>,
pub heads_ahead: Vec<Option<usize>>,
}Expand description
A GitButlerWorkspace’s standing against the target branch, from
GitButlerWorkspace::standing.
Fields§
§ahead: Option<usize>Commits of the applied work the target lacks, not counting the workspace commit; None
when the target comparison was made without counts.
newest_ahead: Vec<ObjectId>The newest of those commits, newest first: the target comparison’s newest ahead commits without the workspace commit.
heads_ahead: Vec<Option<usize>>For each of GitButlerWorkspace::heads, in order, how many of its commits the target
lacks; every entry is None when the target comparison was made without counts.
Trait Implementations§
Source§impl Clone for WorkspaceStanding
impl Clone for WorkspaceStanding
Source§impl Debug for WorkspaceStanding
impl Debug for WorkspaceStanding
impl Eq for WorkspaceStanding
Source§impl PartialEq for WorkspaceStanding
impl PartialEq for WorkspaceStanding
impl StructuralPartialEq for WorkspaceStanding
Auto Trait Implementations§
impl Forget for WorkspaceStanding
impl Freeze for WorkspaceStanding
impl RefUnwindSafe for WorkspaceStanding
impl Send for WorkspaceStanding
impl Sync for WorkspaceStanding
impl Unpin for WorkspaceStanding
impl UnsafeUnpin for WorkspaceStanding
impl UnwindSafe for WorkspaceStanding
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.