Expand description
Re-export of headers from mail-headers
.
This modules contains all components provided by this library.
A mail (header) component is basically the body of a header field
in the mails header section. E.g. in Subject: Hy There
, the
Hy There
would be represented by an component (in this case
the Unstructured
component).
Modules§
Structs§
- Date
Time - A DateTime header component wrapping chrono::DateTimechrono::Utc
- Disposition
- Disposition Component mainly used for the Content-Disposition header (rfc2183)
- Domain
- an email of the form
local-part@domain
corresponds to RFC5322 addr-spec, so<
,>
padding is not part of this Email type (but of the Mailbox type instead) - FWS
- File
Meta - A struct representing common file metadata.
- Local
Part - Mailbox
- Mailbox
List - Media
Type - Message
Id - Implementation Details
- Message
IdList - NoDisplay
Name - OptMailbox
List - Path
- Phrase
- Represent a “phrase” as it for example is used in the
Mailbox
type for the display name. - Phrase
List - RawUnstructured
- A unstructured header field implementation which validates the given input but does not encode any utf8 even if it would have been necessary (it will error in that case) nor does it support breaking longer lines in multiple ones (no FWS marked for the encoder)
- Unstructured
- Word
- A ward as in the mail grammar (RFC 5322).
Enums§
- CFWS
- Disposition
Kind - Represents what kind of disposition is used (Inline/Attachment)
- Received
Token - Transfer
Encoding - The TransferEnecoding header component mainly used by the ContentTransferEncodingHeader.