melib/mbox: derive extra traits for enums
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>pull/335/head
parent
f0866a3965
commit
bebb473d1b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue