pub struct OperationMetrics {
pub total_reads: u64,
pub total_writes: u64,
pub successful_reads: u64,
pub successful_writes: u64,
pub failed_reads: u64,
pub failed_writes: u64,
pub batch_operations: u64,
pub subscription_updates: u64,
}Fields§
§total_reads: u64§total_writes: u64§successful_reads: u64§successful_writes: u64§failed_reads: u64§failed_writes: u64§batch_operations: u64§subscription_updates: u64Trait Implementations§
Source§impl Clone for OperationMetrics
impl Clone for OperationMetrics
Source§fn clone(&self) -> OperationMetrics
fn clone(&self) -> OperationMetrics
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 OperationMetrics
impl Debug for OperationMetrics
Source§impl<'de> Deserialize<'de> for OperationMetrics
impl<'de> Deserialize<'de> for OperationMetrics
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 OperationMetrics
impl RefUnwindSafe for OperationMetrics
impl Send for OperationMetrics
impl Sync for OperationMetrics
impl Unpin for OperationMetrics
impl UnwindSafe for OperationMetrics
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