pub struct ExplorerGitPathStatus {
pub staged: Option<ExplorerGitChangeKind>,
pub unstaged: Option<ExplorerGitChangeKind>,
pub untracked: bool,
}Expand description
Combined staged/unstaged/untracked status for a single path.
Fields§
§staged: Option<ExplorerGitChangeKind>Staged index change kind (if any).
unstaged: Option<ExplorerGitChangeKind>Unstaged worktree change kind (if any).
untracked: booltrue when the path is untracked.
Trait Implementations§
Source§impl Clone for ExplorerGitPathStatus
impl Clone for ExplorerGitPathStatus
Source§fn clone(&self) -> ExplorerGitPathStatus
fn clone(&self) -> ExplorerGitPathStatus
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 moreSource§impl Debug for ExplorerGitPathStatus
impl Debug for ExplorerGitPathStatus
Source§impl Default for ExplorerGitPathStatus
impl Default for ExplorerGitPathStatus
Source§fn default() -> ExplorerGitPathStatus
fn default() -> ExplorerGitPathStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExplorerGitPathStatus
impl RefUnwindSafe for ExplorerGitPathStatus
impl Send for ExplorerGitPathStatus
impl Sync for ExplorerGitPathStatus
impl Unpin for ExplorerGitPathStatus
impl UnwindSafe for ExplorerGitPathStatus
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