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
impl Copy for HeadStatistics
Auto Trait Implementations§
impl RefUnwindSafe for HeadStatistics
impl Send for HeadStatistics
impl Sync for HeadStatistics
impl Unpin for HeadStatistics
impl UnwindSafe for HeadStatistics
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