Struct promql_parser::parser::ast::MatrixSelector
source · pub struct MatrixSelector {
pub vs: VectorSelector,
pub range: Duration,
}
Fields§
§vs: VectorSelector
§range: Duration
Trait Implementations§
source§impl Clone for MatrixSelector
impl Clone for MatrixSelector
source§fn clone(&self) -> MatrixSelector
fn clone(&self) -> MatrixSelector
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 moresource§impl Debug for MatrixSelector
impl Debug for MatrixSelector
source§impl Display for MatrixSelector
impl Display for MatrixSelector
source§impl PartialEq<MatrixSelector> for MatrixSelector
impl PartialEq<MatrixSelector> for MatrixSelector
source§fn eq(&self, other: &MatrixSelector) -> bool
fn eq(&self, other: &MatrixSelector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Prettier for MatrixSelector
impl Prettier for MatrixSelector
impl Eq for MatrixSelector
impl StructuralEq for MatrixSelector
impl StructuralPartialEq for MatrixSelector
Auto Trait Implementations§
impl RefUnwindSafe for MatrixSelector
impl Send for MatrixSelector
impl Sync for MatrixSelector
impl Unpin for MatrixSelector
impl UnwindSafe for MatrixSelector
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.