Struct MailEnrichmentPassReport
- Namespace
- MailFathom.Application.Emails.Enrichment
- Assembly
- MailFathom.Application.dll
What one enrichment pass did, in counts and in the conditions that stopped it.
public readonly record struct MailEnrichmentPassReport : IEquatable<MailEnrichmentPassReport>
- Implements
- Inherited Members
Remarks
Counts and reasons, and nothing derived from a message: a mark is what the derivation wrote about somebody's mail and a proposal names what they are doing on a day, so neither ever reaches a log, a span, or an instrument. The two message counts differ by exactly the messages a derivation found nothing worth marking on, which is the number an operator reads to tell an enrichment that is working from one that is answering emptily.
The two stopping conditions stay apart because they name different work. Both halves of the pass are a provider call and either can be refused first, and folding them into one field would report a spent allowance without saying which half met it — which is what an operator weighing whether to raise a ceiling is asking.
Constructors
- MailEnrichmentPassReport(int, int, int, EmailEnrichmentWithholding?, CalendarEventExtractionWithholding?, bool)
What one enrichment pass did, in counts and in the conditions that stopped it.
Properties
- DerivedEmailCount
How many messages the pass settled a derivation for, including ones with nothing to say.
- EmailsRemain
Whether the account still holds mail awaiting a derivation.
- IsEmpty
Gets whether the pass found nothing to do and nothing to report.
- MarkedEmailCount
How many of those carried at least one mark.
- ProposalsStoppedBy
The condition that ended the pass early while reading dates, or null where none did.
- ProposedEventCount
How many calendar proposals the pass wrote, counted across every calendar they reached.