Expand description

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).

Re-exports

pub use self::word::Word;

Modules

Structs

A DateTime header component wrapping chrono::DateTimechrono::Utc
Disposition Component mainly used for the Content-Disposition header (rfc2183)
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)
A struct representing common file metadata.
Implementation Details
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)

Enums

Represents what kind of disposition is used (Inline/Attachment)
The TransferEnecoding header component mainly used by the ContentTransferEncodingHeader.

Type Definitions