pub struct WorktreeStats {
pub total_tracked: usize,
pub with_changes: usize,
pub stale: usize,
pub max_allowed: usize,
}Expand description
Statistics about worktrees
Fields§
§total_tracked: usizeTotal tracked worktrees
with_changes: usizeWorktrees with uncommitted changes
stale: usizeStale worktrees
max_allowed: usizeMaximum allowed worktrees
Trait Implementations§
Source§impl Clone for WorktreeStats
impl Clone for WorktreeStats
Source§fn clone(&self) -> WorktreeStats
fn clone(&self) -> WorktreeStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WorktreeStats
impl RefUnwindSafe for WorktreeStats
impl Send for WorktreeStats
impl Sync for WorktreeStats
impl Unpin for WorktreeStats
impl UnsafeUnpin for WorktreeStats
impl UnwindSafe for WorktreeStats
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