pub struct Envelope {Show 14 fields
pub file: MailFile,
pub from: String,
pub from_full: String,
pub subject: String,
pub date: i64,
pub msg_id: Option<String>,
pub references: Vec<String>,
pub tagged: bool,
pub to: Vec<String>,
pub cc: Vec<String>,
pub lines: Option<usize>,
pub list: Option<String>,
pub label: Option<String>,
pub broken: bool,
}Expand description
Summary of one message for the index view.
Fields§
§file: MailFile§from: StringShort display form of the sender (name when there is one).
from_full: StringThe whole decoded From header, so ~f can match the address
too, like mutt (empty in entries from a pre-1.24 header cache).
subject: String§date: i64Unix epoch seconds from the Date header, 0 if missing/unparsable.
msg_id: Option<String>Normalized <...> Message-ID, if present.
references: Vec<String>References chain (oldest first), In-Reply-To appended if novel.
tagged: boolRuntime tag mark (mutt’s t); never persisted.
to: Vec<String>Bare lowercase To / Cc addresses, for the “addressed to me” index mark.
cc: Vec<String>§lines: Option<usize>Body line count for %l; None for header-only IMAP cache
files, whose %?l?…&…? else branch shows until the body is
fetched.
list: Option<String>Mailing-list name from List-Id, for %L (“To
label: Option<String>mutt’s X-Label header, for %y, ~y, and sort by label.
broken: boolThe user broke this message out of its thread: rmut’s own
X-Rmut-Thread: broken, written by break-thread. mutt has
nothing like it and its subject grouping hangs a broken
message straight back where it was; rmut’s break-thread
sticks instead, and this is the header that makes it.