Struct prometheus_http_query::response::HeadStatistics
source · pub struct HeadStatistics { /* private fields */ }Expand description
Prometheus TSDB head block data.
Implementations§
source§impl HeadStatistics
impl HeadStatistics
sourcepub fn num_series(&self) -> usize
pub fn num_series(&self) -> usize
Get the number of series.
sourcepub fn chunk_count(&self) -> usize
pub fn chunk_count(&self) -> usize
Get the number of chunks.
Trait Implementations§
source§impl Clone for HeadStatistics
impl Clone for HeadStatistics
source§fn clone(&self) -> HeadStatistics
fn clone(&self) -> HeadStatistics
Returns a copy 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 HeadStatistics
impl Debug for HeadStatistics
source§impl<'de> Deserialize<'de> for HeadStatistics
impl<'de> Deserialize<'de> for HeadStatistics
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