pub struct AnalyticsSnapshot {
pub timestamp: DateTime<Utc>,
pub uptime_seconds: u64,
pub requests: RequestMetrics,
pub latency: LatencyMetrics,
pub errors: ErrorMetrics,
pub rate_limits: RateLimitMetrics,
pub endpoints: Vec<EndpointMetrics>,
pub throughput: ThroughputMetrics,
}Expand description
Complete analytics snapshot for dashboard/export
Fields§
§timestamp: DateTime<Utc>Snapshot timestamp
uptime_seconds: u64Uptime in seconds
requests: RequestMetricsRequest metrics
latency: LatencyMetricsLatency metrics
errors: ErrorMetricsError metrics
rate_limits: RateLimitMetricsRate limit metrics
endpoints: Vec<EndpointMetrics>Per-endpoint metrics
throughput: ThroughputMetricsThroughput metrics
Trait Implementations§
Source§impl Clone for AnalyticsSnapshot
impl Clone for AnalyticsSnapshot
Source§fn clone(&self) -> AnalyticsSnapshot
fn clone(&self) -> AnalyticsSnapshot
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 AnalyticsSnapshot
impl Debug for AnalyticsSnapshot
Source§impl<'de> Deserialize<'de> for AnalyticsSnapshot
impl<'de> Deserialize<'de> for AnalyticsSnapshot
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 AnalyticsSnapshot
impl RefUnwindSafe for AnalyticsSnapshot
impl Send for AnalyticsSnapshot
impl Sync for AnalyticsSnapshot
impl Unpin for AnalyticsSnapshot
impl UnwindSafe for AnalyticsSnapshot
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