Struct MailDraftId
- Namespace
- MailFathom.Domain.Delivery.Drafts
- Assembly
- MailFathom.Domain.dll
Identifies one draft this deployment holds, for as long as it is held.
public readonly record struct MailDraftId : IEquatable<MailDraftId>
- Implements
- Inherited Members
Remarks
A draft carries no idempotency identity, unlike OutgoingEmailId's record: asking twice for a draft is two drafts rather than one delivery, because nothing about a draft can be duplicated onto somebody else's mail server. So this is the whole of a draft's identity rather than a surrogate beside a composite, and it is what the stored MIME, the appended copies, and every later revision are all keyed by.
Properties
- Value
Gets the non-empty UUID value.
Methods
- Create(Guid)
Creates a draft identifier from a non-empty UUID.
- ToString()
Returns the fully qualified type name of this instance.