pub struct MetricsUpdate {
pub indexing_metrics: Option<IndexingMetrics>,
pub system_metrics: Option<SystemMetrics>,
pub operation_metrics: Option<OperationMetrics>,
pub health_metrics: Option<HealthMetrics>,
pub error_metrics: Option<ErrorMetrics>,
pub custom_metrics: HashMap<String, f64>,
}Expand description
Update data for metrics
Fields§
§indexing_metrics: Option<IndexingMetrics>§system_metrics: Option<SystemMetrics>§operation_metrics: Option<OperationMetrics>§health_metrics: Option<HealthMetrics>§error_metrics: Option<ErrorMetrics>§custom_metrics: HashMap<String, f64>Trait Implementations§
Source§impl Clone for MetricsUpdate
impl Clone for MetricsUpdate
Source§fn clone(&self) -> MetricsUpdate
fn clone(&self) -> MetricsUpdate
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 moreAuto Trait Implementations§
impl Freeze for MetricsUpdate
impl RefUnwindSafe for MetricsUpdate
impl Send for MetricsUpdate
impl Sync for MetricsUpdate
impl Unpin for MetricsUpdate
impl UnwindSafe for MetricsUpdate
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