pub struct DiagnosticsSnapshot {
pub captured_at: SystemTime,
pub connections: ConnectionMetrics,
pub operations: OperationMetrics,
pub performance: PerformanceMetrics,
pub errors: ErrorMetrics,
pub health: HealthMetrics,
pub system_metrics_are_placeholders: bool,
}Fields§
§captured_at: SystemTime§connections: ConnectionMetrics§operations: OperationMetrics§performance: PerformanceMetrics§errors: ErrorMetrics§health: HealthMetrics§system_metrics_are_placeholders: boolTrait Implementations§
Source§impl Clone for DiagnosticsSnapshot
impl Clone for DiagnosticsSnapshot
Source§fn clone(&self) -> DiagnosticsSnapshot
fn clone(&self) -> DiagnosticsSnapshot
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 DiagnosticsSnapshot
impl Debug for DiagnosticsSnapshot
Source§impl<'de> Deserialize<'de> for DiagnosticsSnapshot
impl<'de> Deserialize<'de> for DiagnosticsSnapshot
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 DiagnosticsSnapshot
impl RefUnwindSafe for DiagnosticsSnapshot
impl Send for DiagnosticsSnapshot
impl Sync for DiagnosticsSnapshot
impl Unpin for DiagnosticsSnapshot
impl UnsafeUnpin for DiagnosticsSnapshot
impl UnwindSafe for DiagnosticsSnapshot
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