pub struct RollbackStats {
pub total_operations_logged: u64,
pub total_rollbacks: u64,
pub successful_rollbacks: u64,
pub failed_rollbacks: u64,
pub avg_rollback_time_ms: f64,
pub total_snapshots: u64,
pub storage_usage_bytes: u64,
pub last_snapshot_at: Option<DateTime<Utc>>,
pub last_updated: DateTime<Utc>,
}Expand description
Rollback statistics
Fields§
§total_operations_logged: u64Total operations logged
total_rollbacks: u64Total rollbacks performed
successful_rollbacks: u64Successful rollbacks
failed_rollbacks: u64Failed rollbacks
avg_rollback_time_ms: f64Average rollback time
total_snapshots: u64Total snapshots created
storage_usage_bytes: u64Current storage usage
last_snapshot_at: Option<DateTime<Utc>>Last snapshot timestamp
last_updated: DateTime<Utc>Last updated
Trait Implementations§
Source§impl Clone for RollbackStats
impl Clone for RollbackStats
Source§fn clone(&self) -> RollbackStats
fn clone(&self) -> RollbackStats
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 RollbackStats
impl Debug for RollbackStats
Source§impl<'de> Deserialize<'de> for RollbackStats
impl<'de> Deserialize<'de> for RollbackStats
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 RollbackStats
impl RefUnwindSafe for RollbackStats
impl Send for RollbackStats
impl Sync for RollbackStats
impl Unpin for RollbackStats
impl UnwindSafe for RollbackStats
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