mail_headers_ng/header_components/
mod.rs

1//! This modules contains all components provided by this library.
2//!
3//! A mail (header) component is basically the body of a header field
4//! in the mails header section. E.g. in `Subject: Hy There`, the
5//! `Hy There` would be represented by an component (in this case
6//! the `Unstructured` component).
7//!
8//!
9pub mod utils;
10
11mod file_meta;
12pub use self::file_meta::*;
13
14//reexport our components
15mod date_time;
16pub use self::date_time::DateTime;
17
18mod email;
19pub use self::email::{ Email, Domain, LocalPart };
20
21mod mailbox;
22pub use self::mailbox::{Mailbox, NoDisplayName};
23
24mod mailbox_list;
25pub use self::mailbox_list::{MailboxList, OptMailboxList };
26
27mod transfer_encoding;
28pub use self::transfer_encoding::TransferEncoding;
29
30mod unstructured;
31pub use self::unstructured::Unstructured;
32
33mod message_id;
34pub use self::message_id::{ MessageId, MessageIdList };
35
36pub type ContentId = MessageId;
37pub type ContentIdList = MessageIdList;
38
39mod cfws;
40pub use self::cfws::{ CFWS, FWS };
41
42mod media_type;
43pub use self::media_type::*;
44
45pub type ContentType = MediaType;
46
47mod path;
48pub use self::path::Path;
49
50mod received_token;
51pub use self::received_token::ReceivedToken;
52
53pub mod word;
54pub use self::word::Word;
55
56mod phrase;
57pub use self::phrase::Phrase;
58
59mod phrase_list;
60pub use self::phrase_list::PhraseList;
61
62mod disposition;
63pub use self::disposition::*;
64
65mod raw_unstructured;
66pub use self::raw_unstructured::*;