pub struct Thread<'d, 'q>where
'd: 'q,{ /* private fields */ }
Implementations§
source§impl<'d, 'q> Thread<'d, 'q>where
'd: 'q,
impl<'d, 'q> Thread<'d, 'q>where
'd: 'q,
pub fn from_ptr<P>(ptr: *mut notmuch_thread_t, owner: P) -> Thread<'d, 'q>where
P: Into<Supercow<'q, Query<'d>, OWNED, Box<dyn DefaultFeatures<'a> + 'a>, BoxedStorage, ()>>,
pub fn id(&self) -> String
pub fn total_messages(&self) -> i32
pub fn toplevel_messages(&self) -> Messages<'_, Self> ⓘ
sourcepub fn messages(&self) -> Messages<'_, Self> ⓘ
pub fn messages(&self) -> Messages<'_, Self> ⓘ
Get a Messages
iterator for all messages in ‘thread’ in
oldest-first order.
pub fn subject(&self) -> String
sourcepub fn oldest_date(&self) -> i64
pub fn oldest_date(&self) -> i64
Get the date of the oldest message in ‘thread’ as a time_t value.
sourcepub fn newest_date(&self) -> i64
pub fn newest_date(&self) -> i64
Get the date of the newest message in ‘thread’ as a time_t value.