Struct evebox_suricata_rule_parser::RuleOption[][src]

pub struct RuleOption {
    pub key: String,
    pub val: Option<String>,
    pub prefix: Option<String>,
}

Fields

key: String

The name of the rule option.

TODO: Rename to name.

val: Option<String>

The rule option value.

This is optional as not all rule options require a value.

prefix: Option<String>

The value prefix.

In the case of a quoted value, this will contain the text preceding the first quote. A common case of this is negated content such as: content:!“something”;

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.