Enum MailboxMutationOrigin
- Namespace
- MailFathom.Domain.Mutations
- Assembly
- MailFathom.Domain.dll
Names what kind of authored act asked for a mutation.
public enum MailboxMutationOrigin
Fields
Command = 1Somebody asked for the mutation directly, through a tool call or an administrative command.
Rule = 0A rule matched an email and asked for the mutation without anybody present.
Remarks
The two differ in what makes a request the same request. A rule asks on its own, repeatedly, so its identity has to survive the run it was evaluated in and change when the rule itself changes; an invocation asks once, so its identity is the invocation. Keeping the kind beside the identity is what lets an operator read a stuck mutation and know whether to look at a rule or at something they did.