pub struct Thread { /* private fields */ }
Implementations
sourceimpl Thread
impl Thread
pub fn id(&self) -> &str
pub fn total_messages(&self) -> i32
pub fn toplevel_messages(&self) -> MessagesⓘNotable traits for Messagesimpl Iterator for Messages type Item = Message;
pub fn matched_messages(&self) -> i32
sourcepub fn messages(&self) -> MessagesⓘNotable traits for Messagesimpl Iterator for Messages type Item = Message;
pub fn messages(&self) -> MessagesⓘNotable traits for Messagesimpl Iterator for Messages type Item = Message;
Get a Messages
iterator for all messages in ‘thread’ in
oldest-first order.
pub fn subject(&self) -> Cow<'_, str>
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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Thread
impl !Send for Thread
impl !Sync for Thread
impl Unpin for Thread
impl UnwindSafe for Thread
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more