pub struct SystemState {
pub snapshot_id: String,
pub created_at: DateTime<Utc>,
pub document_states: HashMap<String, DocumentState>,
pub index_states: HashMap<String, IndexState>,
pub system_metadata: HashMap<String, Value>,
pub operations_count: u64,
pub size_bytes: u64,
pub compression_ratio: f64,
}Expand description
System state snapshot
Fields§
§snapshot_id: StringSnapshot ID
created_at: DateTime<Utc>Snapshot timestamp
document_states: HashMap<String, DocumentState>Document states at time of snapshot
index_states: HashMap<String, IndexState>Index states
system_metadata: HashMap<String, Value>System metadata at snapshot time
operations_count: u64Operations count at snapshot time
size_bytes: u64Snapshot size in bytes
compression_ratio: f64Snapshot compression ratio
Trait Implementations§
Source§impl Clone for SystemState
impl Clone for SystemState
Source§fn clone(&self) -> SystemState
fn clone(&self) -> SystemState
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 SystemState
impl Debug for SystemState
Source§impl<'de> Deserialize<'de> for SystemState
impl<'de> Deserialize<'de> for SystemState
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 SystemState
impl RefUnwindSafe for SystemState
impl Send for SystemState
impl Sync for SystemState
impl Unpin for SystemState
impl UnwindSafe for SystemState
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