[−][src]Struct melib::backends::notmuch::Message
Fields
lib: Arc<Library>
message: *mut notmuch_message_t
is_from_thread: bool
_ph: PhantomData<&'m notmuch_message_t>
Implementations
impl<'m> Message<'m>
[src]
pub fn find_message(db: &'m DbConnection, msg_id: &CStr) -> Result<Message<'m>>
[src]
pub fn env_hash(&self) -> EnvelopeHash
[src]
pub fn msg_id(&self) -> &[u8]
[src]
pub fn msg_id_cstr(&self) -> &CStr
[src]
pub fn date(&self) -> UnixTimestamp
[src]
pub fn into_envelope(
self,
index: Arc<RwLock<HashMap<EnvelopeHash, CString>>>,
tag_index: Arc<RwLock<BTreeMap<u64, String>>>
) -> Result<Envelope>
[src]
self,
index: Arc<RwLock<HashMap<EnvelopeHash, CString>>>,
tag_index: Arc<RwLock<BTreeMap<u64, String>>>
) -> Result<Envelope>
pub fn replies_iter(&self) -> Option<MessageIterator<'_>>
[src]
pub fn into_thread_node(&self) -> (ThreadNodeHash, ThreadNode)
[src]
pub fn add_tag(&self, tag: &CStr) -> Result<()>
[src]
pub fn remove_tag(&self, tag: &CStr) -> Result<()>
[src]
pub fn tags(&'m self) -> TagIterator<'m>ⓘNotable traits for TagIterator<'m>
impl<'m> Iterator for TagIterator<'m> type Item = &'m CStr;
[src]
Notable traits for TagIterator<'m>
impl<'m> Iterator for TagIterator<'m> type Item = &'m CStr;
pub fn tags_to_maildir_flags(&self) -> Result<()>
[src]
pub fn get_filename(&self) -> &OsStr
[src]
Trait Implementations
Auto Trait Implementations
impl<'m> RefUnwindSafe for Message<'m>
impl<'m> !Send for Message<'m>
impl<'m> !Sync for Message<'m>
impl<'m> Unpin for Message<'m>
impl<'m> UnwindSafe for Message<'m>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,