1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//! 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).
//!
//!
pub mod utils;

mod file_meta;
pub use self::file_meta::*;

//reexport our components
mod date_time;
pub use self::date_time::DateTime;

mod email;
pub use self::email::{ Email, Domain, LocalPart };

mod mailbox;
pub use self::mailbox::{Mailbox, NoDisplayName};

mod mailbox_list;
pub use self::mailbox_list::{MailboxList, OptMailboxList };

mod transfer_encoding;
pub use self::transfer_encoding::TransferEncoding;

mod unstructured;
pub use self::unstructured::Unstructured;

mod message_id;
pub use self::message_id::{ MessageId, MessageIdList };

pub type ContentId = MessageId;
pub type ContentIdList = MessageIdList;

mod cfws;
pub use self::cfws::{ CFWS, FWS };

mod media_type;
pub use self::media_type::*;

pub type ContentType = MediaType;

mod path;
pub use self::path::Path;

mod received_token;
pub use self::received_token::ReceivedToken;

pub mod word;
pub use self::word::Word;

mod phrase;
pub use self::phrase::Phrase;

mod phrase_list;
pub use self::phrase_list::PhraseList;

mod disposition;
pub use self::disposition::*;

mod raw_unstructured;
pub use self::raw_unstructured::*;