pub struct MbsyncConfig {
pub imap_accounts: BTreeMap<String, ImapAccount>,
pub imap_stores: BTreeMap<String, String>,
pub maildir_stores: BTreeMap<String, MaildirStore>,
pub channels: BTreeMap<String, Channel>,
}Fields§
§imap_accounts: BTreeMap<String, ImapAccount>§imap_stores: BTreeMap<String, String>§maildir_stores: BTreeMap<String, MaildirStore>§channels: BTreeMap<String, Channel>Implementations§
Source§impl MbsyncConfig
impl MbsyncConfig
pub fn parse(text: &str) -> Self
pub fn channel_maildir(&self, channel: &str) -> Option<&PathBuf>
pub fn channel_imap_account(&self, channel: &str) -> Option<&ImapAccount>
Trait Implementations§
Source§impl Clone for MbsyncConfig
impl Clone for MbsyncConfig
Source§fn clone(&self) -> MbsyncConfig
fn clone(&self) -> MbsyncConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MbsyncConfig
impl Debug for MbsyncConfig
Source§impl Default for MbsyncConfig
impl Default for MbsyncConfig
Source§fn default() -> MbsyncConfig
fn default() -> MbsyncConfig
Returns the “default value” for a type. Read more
impl Eq for MbsyncConfig
Source§impl PartialEq for MbsyncConfig
impl PartialEq for MbsyncConfig
impl StructuralPartialEq for MbsyncConfig
Auto Trait Implementations§
impl Freeze for MbsyncConfig
impl RefUnwindSafe for MbsyncConfig
impl Send for MbsyncConfig
impl Sync for MbsyncConfig
impl Unpin for MbsyncConfig
impl UnsafeUnpin for MbsyncConfig
impl UnwindSafe for MbsyncConfig
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