Skip to main content

Module actions

Module actions 

Source
Expand description

Action definitions and execution helpers. Actions are value types that describe what to do; the host application translates them into its own mail operations. Evaluation and planning here are pure: no I/O.

Structs§

FilterMatch
The result of evaluating a rule: which message and what actions to apply.

Enums§

PlannedAction
A single planned action ready for execution by the host application.

Functions§

build_action_plan
Translate a list of actions into a plan that the host can execute.
collect_matches
Collect the actions from the first rule matching a message (in the given rule order — use sort_rules_by_priority to order by priority first).