Skip to main content

Module types

Module types 

Source
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.
FieldValues
Extracted field values from a message for condition evaluation.
FilterRule
A complete filter rule: conditions + actions + metadata.
MailEnvelope
A simple envelope of the fields a filter engine needs.

Enums§

Action
An action to perform when a rule matches.
ConditionField
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.