pub struct TsdbStatisticsQueryBuilder { /* private fields */ }Expand description
Provides a builder to choose how the response from Prometheus is returned to the caller.
Implementations§
Source§impl TsdbStatisticsQueryBuilder
impl TsdbStatisticsQueryBuilder
Sourcepub async fn get(self) -> Result<TsdbStatistics, Error>
pub async fn get(self) -> Result<TsdbStatistics, Error>
Execute the query (using HTTP GET) and retrieve various cardinality statistics the Prometheus TSDB.
Trait Implementations§
Source§impl Clone for TsdbStatisticsQueryBuilder
impl Clone for TsdbStatisticsQueryBuilder
Auto Trait Implementations§
impl !RefUnwindSafe for TsdbStatisticsQueryBuilder
impl !UnwindSafe for TsdbStatisticsQueryBuilder
impl Forget for TsdbStatisticsQueryBuilder
impl Freeze for TsdbStatisticsQueryBuilderwhere
*const ArcInner<ClientRef> is !null: Freeze,
PhantomData<ArcInner<ClientRef>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for TsdbStatisticsQueryBuilder
impl Send for TsdbStatisticsQueryBuilder
impl Sync for TsdbStatisticsQueryBuilder
impl Unpin for TsdbStatisticsQueryBuilder
impl UnsafeUnpin for TsdbStatisticsQueryBuilderwhere
*const ArcInner<ClientRef> is !null: UnsafeUnpin,
PhantomData<ArcInner<ClientRef>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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