Function notmuch_sys::notmuch_message_remove_property [] [src]

pub unsafe extern "C" fn notmuch_message_remove_property(
    message: *mut notmuch_message_t,
    key: *const c_char,
    value: *const c_char
) -> notmuch_status_t

Remove a (key,value) pair from a message.

It is not an error to remove a non-existant (key,value) pair

@returns - notmuch_status_t::ILLEGAL_ARGUMENT: key may not contain an '=' character. - notmuch_status_t::NULL_POINTER: Neither key nor value may be NULL. - notmuch_status_t::SUCCESS: No error occured. @since libnotmuch 4.4 (notmuch 0.23)