pub struct RollbackSummary {
pub total_snapshots: usize,
pub max_snapshots: usize,
pub auto_snapshot_enabled: bool,
pub auto_snapshot_interval: usize,
pub oldest_snapshot: Option<DateTime<Utc>>,
pub newest_snapshot: Option<DateTime<Utc>>,
pub nodes_processed: usize,
}Expand description
Summary of rollback manager state
Fields§
§total_snapshots: usizeTotal snapshots stored
max_snapshots: usizeMaximum snapshots allowed
auto_snapshot_enabled: boolWhether auto-snapshot is enabled
auto_snapshot_interval: usizeAuto-snapshot interval
oldest_snapshot: Option<DateTime<Utc>>Timestamp of oldest snapshot
newest_snapshot: Option<DateTime<Utc>>Timestamp of newest snapshot
nodes_processed: usizeTotal nodes processed
Trait Implementations§
Source§impl Clone for RollbackSummary
impl Clone for RollbackSummary
Source§fn clone(&self) -> RollbackSummary
fn clone(&self) -> RollbackSummary
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 RollbackSummary
impl Debug for RollbackSummary
Source§impl<'de> Deserialize<'de> for RollbackSummary
impl<'de> Deserialize<'de> for RollbackSummary
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 RollbackSummary
impl RefUnwindSafe for RollbackSummary
impl Send for RollbackSummary
impl Sync for RollbackSummary
impl Unpin for RollbackSummary
impl UnwindSafe for RollbackSummary
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