Struct prometheus_http_query::response::Samples
source · pub struct Samples { /* private fields */ }
Implementations§
source§impl Samples
impl Samples
pub fn total_queryable_samples_per_step(&self) -> Option<&Vec<Sample>>
pub fn total_queryable_samples(&self) -> i64
pub fn peak_samples(&self) -> i64
Trait Implementations§
source§impl<'de> Deserialize<'de> for Samples
impl<'de> Deserialize<'de> for Samples
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 Samples
impl RefUnwindSafe for Samples
impl Send for Samples
impl Sync for Samples
impl Unpin for Samples
impl UnwindSafe for Samples
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