pub struct WorkspaceMetrics {
pub total_projects: usize,
pub total_dependencies: usize,
pub compliance_score: f64,
pub health_status: HealthStatus,
}Expand description
Metrics about the workspace
Fields§
§total_projects: usizeTotal number of projects
total_dependencies: usizeTotal number of dependencies
compliance_score: f64Compliance score (0.0 to 1.0)
health_status: HealthStatusOverall health status
Trait Implementations§
Source§impl Clone for WorkspaceMetrics
impl Clone for WorkspaceMetrics
Source§fn clone(&self) -> WorkspaceMetrics
fn clone(&self) -> WorkspaceMetrics
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 WorkspaceMetrics
impl Debug for WorkspaceMetrics
Source§impl Default for WorkspaceMetrics
impl Default for WorkspaceMetrics
Source§impl<'de> Deserialize<'de> for WorkspaceMetrics
impl<'de> Deserialize<'de> for WorkspaceMetrics
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 WorkspaceMetrics
impl RefUnwindSafe for WorkspaceMetrics
impl Send for WorkspaceMetrics
impl Sync for WorkspaceMetrics
impl Unpin for WorkspaceMetrics
impl UnwindSafe for WorkspaceMetrics
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