[][src]Struct meli::conf::notifications::NotificationsSettings

pub struct NotificationsSettings {
    pub enable: bool,
    pub script: Option<String>,
    pub xbiff_file_path: Option<String>,
    pub play_sound: ToggleFlag,
    pub sound_file: Option<String>,
}

Settings for the notifications function.

Fields

enable: bool

Enable notifications. Default: True

script: Option<String>

A command to pipe notifications through Default: None

xbiff_file_path: Option<String>

A file location which has its size changed when new mail arrives (max 128 bytes). Can be used to trigger new mail notifications eg with xbiff(1) Default: None

play_sound: ToggleFlagsound_file: Option<String>

Trait Implementations

impl Clone for NotificationsSettings[src]

impl Debug for NotificationsSettings[src]

impl Default for NotificationsSettings[src]

impl<'de> Deserialize<'de> for NotificationsSettings[src]

impl DotAddressable for NotificationsSettings[src]

impl Serialize for NotificationsSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for NotificationsSettings

impl Send for NotificationsSettings

impl Sync for NotificationsSettings

impl Unpin for NotificationsSettings

impl UnwindSafe for NotificationsSettings

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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]