pub struct Workspace {
pub root: PathBuf,
pub projects: Vec<Project>,
pub dependencies: Vec<ProjectDependency>,
pub config: WorkspaceConfig,
pub metrics: WorkspaceMetrics,
}Expand description
Represents a workspace containing multiple projects
Fields§
§root: PathBufRoot path of the workspace
projects: Vec<Project>All projects in the workspace
dependencies: Vec<ProjectDependency>Dependencies between projects
config: WorkspaceConfigWorkspace-level configuration
metrics: WorkspaceMetricsWorkspace metrics and health indicators
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workspace
impl<'de> Deserialize<'de> for Workspace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnwindSafe for Workspace
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