pub struct IntegrityStats {
pub total_checks: u64,
pub quick_checks: u64,
pub comprehensive_checks: u64,
pub total_errors_found: u64,
pub errors_by_type: HashMap<String, u64>,
pub total_repairs_attempted: u64,
pub successful_repairs: u64,
pub failed_repairs: u64,
pub avg_check_duration_ms: f64,
pub system_availability_percent: f64,
pub last_updated: DateTime<Utc>,
}Expand description
Integrity checker statistics
Fields§
§total_checks: u64Total checks performed
quick_checks: u64Quick checks performed
comprehensive_checks: u64Comprehensive checks performed
total_errors_found: u64Total integrity errors found
errors_by_type: HashMap<String, u64>Errors by type
total_repairs_attempted: u64Total repairs attempted
successful_repairs: u64Successful repairs
failed_repairs: u64Failed repairs
avg_check_duration_ms: f64Average check duration
system_availability_percent: f64System availability
last_updated: DateTime<Utc>Last updated
Trait Implementations§
Source§impl Clone for IntegrityStats
impl Clone for IntegrityStats
Source§fn clone(&self) -> IntegrityStats
fn clone(&self) -> IntegrityStats
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 IntegrityStats
impl Debug for IntegrityStats
Source§impl<'de> Deserialize<'de> for IntegrityStats
impl<'de> Deserialize<'de> for IntegrityStats
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 IntegrityStats
impl RefUnwindSafe for IntegrityStats
impl Send for IntegrityStats
impl Sync for IntegrityStats
impl Unpin for IntegrityStats
impl UnwindSafe for IntegrityStats
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