pub struct CompactMetricsReport { /* private fields */ }Expand description
CompactMetricsReport
Compact metrics query payload.
Implementations§
Source§impl CompactMetricsReport
impl CompactMetricsReport
Sourcepub const fn counters(&self) -> Option<&CompactEventCounters>
pub const fn counters(&self) -> Option<&CompactEventCounters>
Borrow the compact global counters when the requested window matched.
Sourcepub fn entity_counters(&self) -> &[CompactEntityMetrics]
pub fn entity_counters(&self) -> &[CompactEntityMetrics]
Borrow compact per-entity counters.
Sourcepub const fn window_filter_matched(&self) -> bool
pub const fn window_filter_matched(&self) -> bool
Return whether the requested window matched the active window.
Sourcepub const fn requested_window_start_ms(&self) -> Option<u64>
pub const fn requested_window_start_ms(&self) -> Option<u64>
Return the requested window start timestamp, if supplied.
Sourcepub const fn active_window_start_ms(&self) -> u64
pub const fn active_window_start_ms(&self) -> u64
Return the active metrics window start timestamp.
Trait Implementations§
Source§impl CandidType for CompactMetricsReport
impl CandidType for CompactMetricsReport
Source§impl Clone for CompactMetricsReport
impl Clone for CompactMetricsReport
Source§fn clone(&self) -> CompactMetricsReport
fn clone(&self) -> CompactMetricsReport
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 CompactMetricsReport
impl Debug for CompactMetricsReport
Source§impl Default for CompactMetricsReport
impl Default for CompactMetricsReport
Source§fn default() -> CompactMetricsReport
fn default() -> CompactMetricsReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompactMetricsReport
impl<'de> Deserialize<'de> for CompactMetricsReport
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
impl Eq for CompactMetricsReport
Source§impl PartialEq for CompactMetricsReport
impl PartialEq for CompactMetricsReport
Source§fn eq(&self, other: &CompactMetricsReport) -> bool
fn eq(&self, other: &CompactMetricsReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompactMetricsReport
Auto Trait Implementations§
impl Freeze for CompactMetricsReport
impl RefUnwindSafe for CompactMetricsReport
impl Send for CompactMetricsReport
impl Sync for CompactMetricsReport
impl Unpin for CompactMetricsReport
impl UnsafeUnpin for CompactMetricsReport
impl UnwindSafe for CompactMetricsReport
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