melib/mbox: derive extra traits for enums

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
pull/335/head
Manos Pitsidianakis 2023-12-29 16:14:08 +02:00
parent f0866a3965
commit bebb473d1b
Signed by: Manos Pitsidianakis
GPG Key ID: 7729C7707F7E09D0
1 changed files with 2 additions and 2 deletions

View File

@ -328,7 +328,7 @@ impl BackendOp for MboxOp {
}
}
#[derive(Clone, Copy, Debug)]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub enum MboxMetadata {
/// Dovecot uses C-Client (ie. UW-IMAP, Pine) compatible headers in mbox
/// messages to store me
@ -347,7 +347,7 @@ pub enum MboxMetadata {
/// Choose between "mboxo", "mboxrd", "mboxcl", "mboxcl2". For new mailboxes,
/// prefer "mboxcl2" which does not alter the mail body.
#[derive(Clone, Copy, Debug)]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub enum MboxFormat {
MboxO,
MboxRd,