pub struct MetricsQueryMeta {
pub latest_ts: Option<String>,
pub series_count: usize,
pub truncated: bool,
}Expand description
Metadata about the metrics query result.
Fields§
§latest_ts: Option<String>Timestamp (RFC3339 UTC) of the most recent data point. Absent when no data.
series_count: usizeNumber of distinct series returned.
truncated: booltrue when results were truncated due to server limits.
Trait Implementations§
Source§impl Clone for MetricsQueryMeta
impl Clone for MetricsQueryMeta
Source§fn clone(&self) -> MetricsQueryMeta
fn clone(&self) -> MetricsQueryMeta
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 MetricsQueryMeta
impl Debug for MetricsQueryMeta
Source§impl<'de> Deserialize<'de> for MetricsQueryMeta
impl<'de> Deserialize<'de> for MetricsQueryMeta
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 MetricsQueryMeta
impl RefUnwindSafe for MetricsQueryMeta
impl Send for MetricsQueryMeta
impl Sync for MetricsQueryMeta
impl Unpin for MetricsQueryMeta
impl UnsafeUnpin for MetricsQueryMeta
impl UnwindSafe for MetricsQueryMeta
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