Enum promql::Op [] [src]

pub enum Op {
    Pow(Option<OpMod>),
    Mul(Option<OpMod>),
    Div(Option<OpMod>),
    Mod(Option<OpMod>),
    Plus(Option<OpMod>),
    Minus(Option<OpMod>),
    Eq(boolOption<OpMod>),
    Ne(boolOption<OpMod>),
    Lt(boolOption<OpMod>),
    Gt(boolOption<OpMod>),
    Le(boolOption<OpMod>),
    Ge(boolOption<OpMod>),
    And(Option<OpMod>),
    Unless(Option<OpMod>),
    Or(Option<OpMod>),
}

PromQL operators

Variants

^

*

/

%

+

-

==, with optional bool modifier in addition to regular operator modifiers

!=, with optional bool modifier in addition to regular operator modifiers

<, with optional bool modifier in addition to regular operator modifiers

>, with optional bool modifier in addition to regular operator modifiers

<=, with optional bool modifier in addition to regular operator modifiers

>=, with optional bool modifier in addition to regular operator modifiers

and

unless

or

Trait Implementations

impl Debug for Op
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Op
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.