pub struct ExplorerGitStatusResponse {
pub root: String,
pub is_git_repo: bool,
pub paths: HashMap<String, ExplorerGitPathStatus>,
pub error: Option<String>,
}Expand description
Response payload for the git-status query.
Fields§
§root: StringAbsolute path of the workspace root.
is_git_repo: boolWhether a .git directory exists at the root.
paths: HashMap<String, ExplorerGitPathStatus>Per-path statuses (key = forward-slash relative path).
error: Option<String>Non-fatal error message (e.g. git not installed).
Trait Implementations§
Source§impl Clone for ExplorerGitStatusResponse
impl Clone for ExplorerGitStatusResponse
Source§fn clone(&self) -> ExplorerGitStatusResponse
fn clone(&self) -> ExplorerGitStatusResponse
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 ExplorerGitStatusResponse
impl Debug for ExplorerGitStatusResponse
Auto Trait Implementations§
impl Freeze for ExplorerGitStatusResponse
impl RefUnwindSafe for ExplorerGitStatusResponse
impl Send for ExplorerGitStatusResponse
impl Sync for ExplorerGitStatusResponse
impl Unpin for ExplorerGitStatusResponse
impl UnwindSafe for ExplorerGitStatusResponse
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