Struct promql::OpMod [] [src]

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

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

Fields

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

Set of labels to apply action to.

Additional grouping modifier, if any.

Trait Implementations

impl Debug for OpMod
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for OpMod
[src]

[src]

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

[src]

This method tests for !=.