diff options
| -rw-r--r-- | src/message.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/message.rs b/src/message.rs index 226d3b8..0013497 100644 --- a/src/message.rs +++ b/src/message.rs @@ -110,6 +110,14 @@ where pub fn remove_all_tags(self: &Self) -> Result<()> { unsafe { ffi::notmuch_message_remove_all_tags(self.ptr) }.as_result() } + + pub fn tags_to_maildir_flags(self: &Self) -> Result<()> { + unsafe { ffi::notmuch_message_tags_to_maildir_flags(self.ptr) }.as_result() + } + + pub fn maildir_flags_to_tags(self: &Self) -> Result<()> { + unsafe { ffi::notmuch_message_maildir_flags_to_tags(self.ptr) }.as_result() + } } pub trait MessageExt<'o, O> |
