pub struct SubjectFallback<'a> {
pub reply_re: &'a Regex,
pub sort_re: bool,
}Expand description
mutt’s subject fallback, which runs unless $strict_threads: a
thread root whose subject repeats one already in the mailbox
hangs under the message carrying it. It is what keeps mail that
arrives with no References at all (a notification robot, a list
that strips the headers) reading as one thread.
Fields§
§reply_re: &'a RegexCompiled $reply_regexp: what marks a subject as a reply, and what is taken off it to compare with (mutt’s real_subj).
sort_re: boolmutt’s $sort_re: only a root whose subject carries the reply prefix is attached. Unset, any equal subject is, which groups unrelated mail sharing a subject like “hi”.
Trait Implementations§
Source§impl<'a> Clone for SubjectFallback<'a>
impl<'a> Clone for SubjectFallback<'a>
impl<'a> Copy for SubjectFallback<'a>
Auto Trait Implementations§
impl<'a> Freeze for SubjectFallback<'a>
impl<'a> RefUnwindSafe for SubjectFallback<'a>
impl<'a> Send for SubjectFallback<'a>
impl<'a> Sync for SubjectFallback<'a>
impl<'a> Unpin for SubjectFallback<'a>
impl<'a> UnsafeUnpin for SubjectFallback<'a>
impl<'a> UnwindSafe for SubjectFallback<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more