pub enum NotificationMode {
Auto,
LegacySendmail,
NotificationSystem,
}Expand description
Determine which notification system to use. If set to ‘legacy-sendmail’, vzdump will consider the mailto/mailnotification parameters and send emails to the specified address(es) via the ‘sendmail’ command. If set to ‘notification-system’, a notification will be sent via PVE’s notification system, and the mailto and mailnotification will be ignored. If set to ‘auto’ (default setting), an email will be sent if mailto is set, and the notification system will be used if not.
Variants§
Trait Implementations§
Source§impl Clone for NotificationMode
impl Clone for NotificationMode
Source§fn clone(&self) -> NotificationMode
fn clone(&self) -> NotificationMode
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 NotificationMode
impl Debug for NotificationMode
Source§impl Default for NotificationMode
impl Default for NotificationMode
Source§fn default() -> NotificationMode
fn default() -> NotificationMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationMode
impl<'de> Deserialize<'de> for NotificationMode
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
Source§impl PartialEq for NotificationMode
impl PartialEq for NotificationMode
Source§fn eq(&self, other: &NotificationMode) -> bool
fn eq(&self, other: &NotificationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NotificationMode
impl Serialize for NotificationMode
impl StructuralPartialEq for NotificationMode
Auto Trait Implementations§
impl Freeze for NotificationMode
impl RefUnwindSafe for NotificationMode
impl Send for NotificationMode
impl Sync for NotificationMode
impl Unpin for NotificationMode
impl UnsafeUnpin for NotificationMode
impl UnwindSafe for NotificationMode
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