Struct melib::conf::MailboxConf
source · pub struct MailboxConf {
pub alias: Option<String>,
pub autoload: bool,
pub subscribe: ToggleFlag,
pub ignore: ToggleFlag,
pub usage: Option<SpecialUsageMailbox>,
pub sort_order: Option<usize>,
pub encoding: Option<String>,
pub extra: HashMap<String, String>,
}
Fields§
§alias: Option<String>
§autoload: bool
§subscribe: ToggleFlag
§ignore: ToggleFlag
§usage: Option<SpecialUsageMailbox>
§sort_order: Option<usize>
§encoding: Option<String>
§extra: HashMap<String, String>
Implementations§
Trait Implementations§
source§impl Clone for MailboxConf
impl Clone for MailboxConf
source§fn clone(&self) -> MailboxConf
fn clone(&self) -> MailboxConf
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 MailboxConf
impl Debug for MailboxConf
source§impl Default for MailboxConf
impl Default for MailboxConf
source§impl<'de> Deserialize<'de> for MailboxConfwhere
MailboxConf: Default,
impl<'de> Deserialize<'de> for MailboxConfwhere
MailboxConf: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MailboxConf
impl RefUnwindSafe for MailboxConf
impl Send for MailboxConf
impl Sync for MailboxConf
impl Unpin for MailboxConf
impl UnwindSafe for MailboxConf
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