pub struct Stats {}Expand description
Stats which the interpreter uses to populate the gist expression
Fields§
§untracked: u16Number of untracked files which are new to the repository
added_staged: u16Number of files to be added
modified: u16Number of modified files which have not yet been staged
modified_staged: u16Number of staged changes to files
renamed: u16Number of renamed files
deleted: u16Number of deleted files
deleted_staged: u16Number of staged deletions
ahead: u16Number of commits ahead of the upstream branch
behind: u16Number of commits behind the upstream branch
conflicts: u16Number of unresolved conflicts in the repository
stashes: u16Number of stashes on the current branch
branch: StringThe branch name or other stats of the HEAD pointer
remote: StringThe of the upstream branch
Implementations§
Trait Implementations§
Source§impl AddAssign for Stats
impl AddAssign for Stats
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreimpl Eq for Stats
impl StructuralPartialEq for Stats
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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