[][src]Struct promql::OpMod

pub struct OpMod {
    pub action: OpModAction,
    pub labels: Vec<String>,
    pub group: Option<OpGroupMod>,
}

Vector matching operator modifier (on (…)/ignoring (…)).

Fields

action: OpModAction

Action applied to a list of vectors; whether on (…) or ignored(…) is used after the operator.

labels: Vec<String>

Set of labels to apply action to.

group: Option<OpGroupMod>

Additional grouping modifier, if any.

Trait Implementations

impl Debug for OpMod[src]

impl PartialEq<OpMod> for OpMod[src]

impl StructuralPartialEq for OpMod[src]

Auto Trait Implementations

impl RefUnwindSafe for OpMod

impl Send for OpMod

impl Sync for OpMod

impl Unpin for OpMod

impl UnwindSafe for OpMod

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.