pub struct ConfigValidation {
pub errors: Vec<ConfigError>,
pub warnings: Vec<ConfigWarning>,
}Expand description
Detailed configuration validation result containing structured errors and warnings
Fields§
§errors: Vec<ConfigError>Configuration errors that must be fixed
warnings: Vec<ConfigWarning>Configuration warnings that may indicate suboptimal settings
Implementations§
Source§impl ConfigValidation
impl ConfigValidation
Sourcepub fn has_warnings(&self) -> bool
pub fn has_warnings(&self) -> bool
Returns true if there are any warnings
Sourcepub fn error_count(&self) -> usize
pub fn error_count(&self) -> usize
Number of errors
Sourcepub fn warning_count(&self) -> usize
pub fn warning_count(&self) -> usize
Number of warnings
Trait Implementations§
Source§impl Clone for ConfigValidation
impl Clone for ConfigValidation
Source§fn clone(&self) -> ConfigValidation
fn clone(&self) -> ConfigValidation
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 ConfigValidation
impl Debug for ConfigValidation
Source§impl Default for ConfigValidation
impl Default for ConfigValidation
Source§fn default() -> ConfigValidation
fn default() -> ConfigValidation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigValidation
impl RefUnwindSafe for ConfigValidation
impl Send for ConfigValidation
impl Sync for ConfigValidation
impl Unpin for ConfigValidation
impl UnsafeUnpin for ConfigValidation
impl UnwindSafe for ConfigValidation
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