pub struct GitStatus {
pub working_tree_status: WorktreeStatus,
pub has_staged_changes: bool,
pub has_unstaged_changes: bool,
pub last_commit_time: Option<i64>,
pub ahead_count: u32,
pub behind_count: u32,
}Fields§
§working_tree_status: WorktreeStatus§has_staged_changes: bool§has_unstaged_changes: bool§last_commit_time: Option<i64>§ahead_count: u32§behind_count: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitStatus
impl RefUnwindSafe for GitStatus
impl Send for GitStatus
impl Sync for GitStatus
impl Unpin for GitStatus
impl UnsafeUnpin for GitStatus
impl UnwindSafe for GitStatus
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