pub struct ExplorerRootResponse {
pub root: String,
pub is_git_repo: bool,
}Expand description
Response payload for the workspace root query.
Fields§
§root: StringAbsolute path of the workspace root.
is_git_repo: boolWhether a .git directory exists at the root.
Trait Implementations§
Source§impl Clone for ExplorerRootResponse
impl Clone for ExplorerRootResponse
Source§fn clone(&self) -> ExplorerRootResponse
fn clone(&self) -> ExplorerRootResponse
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 ExplorerRootResponse
impl Debug for ExplorerRootResponse
Auto Trait Implementations§
impl Freeze for ExplorerRootResponse
impl RefUnwindSafe for ExplorerRootResponse
impl Send for ExplorerRootResponse
impl Sync for ExplorerRootResponse
impl Unpin for ExplorerRootResponse
impl UnwindSafe for ExplorerRootResponse
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