Expand description
Filter rule types: conditions, operators, actions, and the composite rule
structure. These types are domain-only (no storage/async dependencies) so
they can be evaluated synchronously against any Filterable message.
Structs§
- Condition
- A single condition clause.
- Field
Values - Extracted field values from a message for condition evaluation.
- Filter
Rule - A complete filter rule: conditions + actions + metadata.
- Mail
Envelope - A simple envelope of the fields a filter engine needs.
Enums§
- Action
- An action to perform when a rule matches.
- Condition
Field - Message fields that conditions can target.
- Flag
- An IMAP message flag.
- LogicOp
- Boolean combinator for conditions.
- Operator
- Comparison operators.
Traits§
- Filterable
- The fields a filter engine needs from a message.