pub struct ModuleDiagnostics {
pub module_info: ModuleInfo,
pub issues: Vec<String>,
pub warnings: Vec<String>,
pub parameter_diagnostics: HashMap<String, ParameterDiagnostics>,
}Expand description
Comprehensive module diagnostics
Fields§
§module_info: ModuleInfoBasic module information
issues: Vec<String>Critical issues that need immediate attention
warnings: Vec<String>Warnings that should be addressed
parameter_diagnostics: HashMap<String, ParameterDiagnostics>Parameter-specific diagnostics
Implementations§
Source§impl ModuleDiagnostics
impl ModuleDiagnostics
Sourcepub fn has_issues(&self) -> bool
pub fn has_issues(&self) -> bool
Check if module has any critical issues
Sourcepub fn has_warnings(&self) -> bool
pub fn has_warnings(&self) -> bool
Check if module has any warnings
Sourcepub fn is_healthy(&self) -> bool
pub fn is_healthy(&self) -> bool
Check if module is healthy (no issues or warnings)
Sourcepub fn health_summary(&self) -> String
pub fn health_summary(&self) -> String
Get a summary of the health status
Trait Implementations§
Source§impl Clone for ModuleDiagnostics
impl Clone for ModuleDiagnostics
Source§fn clone(&self) -> ModuleDiagnostics
fn clone(&self) -> ModuleDiagnostics
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 ModuleDiagnostics
impl Debug for ModuleDiagnostics
Auto Trait Implementations§
impl Freeze for ModuleDiagnostics
impl RefUnwindSafe for ModuleDiagnostics
impl Send for ModuleDiagnostics
impl Sync for ModuleDiagnostics
impl Unpin for ModuleDiagnostics
impl UnsafeUnpin for ModuleDiagnostics
impl UnwindSafe for ModuleDiagnostics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more