pub struct Thread<'o, Owner: ThreadOwner + 'o> { /* private fields */ }
Implementations§
source§impl<'o, Owner: ThreadOwner + 'o> Thread<'o, Owner>
impl<'o, Owner: ThreadOwner + 'o> Thread<'o, Owner>
pub fn from_ptr<O: Into<Phantomcow<'o, Owner>>>(
ptr: *mut notmuch_thread_t,
owner: O
) -> Thread<'o, Owner>
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.