pub struct SeriesQueryBuilder { /* private fields */ }
Expand description
Provides methods to build a query to the series endpoint and send it to Prometheus.
Implementations§
source§impl SeriesQueryBuilder
impl SeriesQueryBuilder
sourcepub fn start(self, start: i64) -> Self
pub fn start(self, start: i64) -> Self
Limit the amount of metadata returned by setting a start time (UNIX timestamp in seconds). Calling this repeatedly will replace the current setting.
sourcepub fn end(self, end: i64) -> Self
pub fn end(self, end: i64) -> Self
Limit the amount of metadata returned by setting an end time (UNIX timestamp in seconds). Calling this repeatedly will replace the current setting.
Trait Implementations§
source§impl Clone for SeriesQueryBuilder
impl Clone for SeriesQueryBuilder
source§fn clone(&self) -> SeriesQueryBuilder
fn clone(&self) -> SeriesQueryBuilder
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 moreAuto Trait Implementations§
impl Freeze for SeriesQueryBuilder
impl !RefUnwindSafe for SeriesQueryBuilder
impl Send for SeriesQueryBuilder
impl Sync for SeriesQueryBuilder
impl Unpin for SeriesQueryBuilder
impl !UnwindSafe for SeriesQueryBuilder
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