[][src]Struct melib::conf::AccountSettings

pub struct AccountSettings {
    pub name: String,
    pub root_mailbox: String,
    pub format: String,
    pub identity: String,
    pub read_only: bool,
    pub display_name: Option<String>,
    pub subscribed_mailboxes: Vec<String>,
    pub mailboxes: HashMap<String, MailboxConf>,
    pub manual_refresh: bool,
    pub extra: HashMap<String, String>,
}

Fields

name: Stringroot_mailbox: Stringformat: Stringidentity: Stringread_only: booldisplay_name: Option<String>subscribed_mailboxes: Vec<String>mailboxes: HashMap<String, MailboxConf>manual_refresh: boolextra: HashMap<String, String>

Implementations

impl AccountSettings[src]

pub fn format(&self) -> &str[src]

pub fn name(&self) -> &str[src]

pub fn set_name(&mut self, s: String)[src]

pub fn root_mailbox(&self) -> &str[src]

pub fn identity(&self) -> &str[src]

pub fn read_only(&self) -> bool[src]

pub fn display_name(&self) -> Option<&String>[src]

pub fn subscribed_mailboxes(&self) -> &Vec<String>[src]

pub fn vcard_folder(&self) -> Option<&str>[src]

Trait Implementations

impl Clone for AccountSettings[src]

impl Debug for AccountSettings[src]

impl Default for AccountSettings[src]

impl Serialize for AccountSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for AccountSettings

impl Send for AccountSettings

impl Sync for AccountSettings

impl Unpin for AccountSettings

impl UnwindSafe for AccountSettings

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]