pub struct WorkspaceInfo {
pub name: String,
pub path: PathBuf,
pub workspace_type: WorkspaceType,
pub exists: bool,
pub current: bool,
pub relative_path: String,
}Expand description
Information about a workspace.
Fields§
§name: StringWorkspace name
path: PathBufWorkspace path
workspace_type: WorkspaceTypeType of workspace
exists: boolWhether the workspace exists
current: boolWhether this is the current workspace
relative_path: StringRelative path from current directory
Trait Implementations§
Source§impl Clone for WorkspaceInfo
impl Clone for WorkspaceInfo
Auto Trait Implementations§
impl Freeze for WorkspaceInfo
impl RefUnwindSafe for WorkspaceInfo
impl Send for WorkspaceInfo
impl Sync for WorkspaceInfo
impl Unpin for WorkspaceInfo
impl UnsafeUnpin for WorkspaceInfo
impl UnwindSafe for WorkspaceInfo
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