Enum melib::mbox::MboxFormat
source · pub enum MboxFormat {
MboxO,
MboxRd,
MboxCl,
MboxCl2,
}
Expand description
Choose between “mboxo”, “mboxrd”, “mboxcl”, “mboxcl2”. For new mailboxes, prefer “mboxcl2” which does not alter the mail body.
Variants§
Implementations§
source§impl MboxFormat
impl MboxFormat
Trait Implementations§
source§impl Clone for MboxFormat
impl Clone for MboxFormat
source§fn clone(&self) -> MboxFormat
fn clone(&self) -> MboxFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MboxFormat
impl Debug for MboxFormat
source§impl Default for MboxFormat
impl Default for MboxFormat
source§impl Hash for MboxFormat
impl Hash for MboxFormat
source§impl PartialEq for MboxFormat
impl PartialEq for MboxFormat
source§fn eq(&self, other: &MboxFormat) -> bool
fn eq(&self, other: &MboxFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MboxFormat
impl Eq for MboxFormat
impl StructuralPartialEq for MboxFormat
Auto Trait Implementations§
impl Freeze for MboxFormat
impl RefUnwindSafe for MboxFormat
impl Send for MboxFormat
impl Sync for MboxFormat
impl Unpin for MboxFormat
impl UnwindSafe for MboxFormat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.