pub struct Query {
pub metric: String,
pub stack: Option<String>,
pub service: Option<String>,
pub instance: Option<String>,
pub from: u64,
pub to: u64,
pub step: u64,
pub aggregate: Option<String>,
}Expand description
What to read.
Fields§
§metric: String§stack: Option<String>§service: Option<String>§instance: Option<String>§from: u64Unix seconds, [from, to).
to: u64§step: u64The bucket width asked for; widened to the tier’s step at least.
aggregate: Option<String>sum, avg or max over the instances, bucket by bucket; None
returns one series per instance.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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