pub struct LabelValuesParams {
pub label_name: String,
pub match_expr: Option<String>,
pub start: Option<i64>,
pub end: Option<i64>,
pub limit: Option<usize>,
}Expand description
Parameters for metric label-values.
Fields§
§label_name: StringLabel name to get values for.
match_expr: Option<String>Match expression (series selector filter).
start: Option<i64>Start time as Unix seconds.
end: Option<i64>End time as Unix seconds.
limit: Option<usize>Maximum number of results to return.
Trait Implementations§
Source§impl Clone for LabelValuesParams
impl Clone for LabelValuesParams
Source§fn clone(&self) -> LabelValuesParams
fn clone(&self) -> LabelValuesParams
Returns a duplicate 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 LabelValuesParams
impl RefUnwindSafe for LabelValuesParams
impl Send for LabelValuesParams
impl Sync for LabelValuesParams
impl Unpin for LabelValuesParams
impl UnsafeUnpin for LabelValuesParams
impl UnwindSafe for LabelValuesParams
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