pub struct TranslogStats {
pub size_in_bytes: u32,
pub uncommitted_operations: u32,
pub operations: u32,
pub earliest_last_modified_age: u32,
pub size: Option<String>,
pub uncommitted_size: Option<String>,
pub remote_store: Option<RemoteStoreTranslogStats>,
pub uncommitted_size_in_bytes: u32,
}Fields§
§size_in_bytes: u32§uncommitted_operations: u32§operations: u32§earliest_last_modified_age: u32§size: Option<String>§uncommitted_size: Option<String>§remote_store: Option<RemoteStoreTranslogStats>§uncommitted_size_in_bytes: u32Implementations§
Trait Implementations§
Source§impl Clone for TranslogStats
impl Clone for TranslogStats
Source§fn clone(&self) -> TranslogStats
fn clone(&self) -> TranslogStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TranslogStats
impl Debug for TranslogStats
Source§impl Default for TranslogStats
impl Default for TranslogStats
Source§fn default() -> TranslogStats
fn default() -> TranslogStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TranslogStats
impl<'de> Deserialize<'de> for TranslogStats
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
Source§impl PartialEq for TranslogStats
impl PartialEq for TranslogStats
Source§fn eq(&self, other: &TranslogStats) -> bool
fn eq(&self, other: &TranslogStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TranslogStats
impl Serialize for TranslogStats
impl StructuralPartialEq for TranslogStats
Auto Trait Implementations§
impl Freeze for TranslogStats
impl RefUnwindSafe for TranslogStats
impl Send for TranslogStats
impl Sync for TranslogStats
impl Unpin for TranslogStats
impl UnsafeUnpin for TranslogStats
impl UnwindSafe for TranslogStats
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