pub struct ConfigNotificationsUpdateSendmailRequest {
pub author: Option<String>,
pub comment: Option<String>,
pub delete: Option<Vec<PbsConfigNotificationsInlineEnum2>>,
pub digest: Option<String>,
pub disable: Option<bool>,
pub from_address: Option<String>,
pub mailto: Option<Vec<String>>,
pub mailto_user: Option<Vec<String>>,
}Fields§
Author of the mail. Defaults to ‘Proxmox Backup Server ($hostname)’
comment: Option<String>Comment.
delete: Option<Vec<PbsConfigNotificationsInlineEnum2>>List of properties to delete.
digest: Option<String>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
disable: Option<bool>Disable this target.
from_address: Option<String>From address for sent E-Mails. If the parameter is not set, the plugin will fall back to the email-from setting from node.cfg (PBS). If that is also not set, the plugin will default to root@$hostname, where $hostname is the hostname of the node.
mailto: Option<Vec<String>>Mail address to send a mail to.
mailto_user: Option<Vec<String>>Users to send a mail to. The email address of the user will be looked up in users.cfg.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigNotificationsUpdateSendmailRequest
impl Clone for ConfigNotificationsUpdateSendmailRequest
Source§fn clone(&self) -> ConfigNotificationsUpdateSendmailRequest
fn clone(&self) -> ConfigNotificationsUpdateSendmailRequest
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 Default for ConfigNotificationsUpdateSendmailRequest
impl Default for ConfigNotificationsUpdateSendmailRequest
Source§fn default() -> ConfigNotificationsUpdateSendmailRequest
fn default() -> ConfigNotificationsUpdateSendmailRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigNotificationsUpdateSendmailRequest
impl<'de> Deserialize<'de> for ConfigNotificationsUpdateSendmailRequest
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 ConfigNotificationsUpdateSendmailRequest
impl PartialEq for ConfigNotificationsUpdateSendmailRequest
Source§fn eq(&self, other: &ConfigNotificationsUpdateSendmailRequest) -> bool
fn eq(&self, other: &ConfigNotificationsUpdateSendmailRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigNotificationsUpdateSendmailRequest
Auto Trait Implementations§
impl Freeze for ConfigNotificationsUpdateSendmailRequest
impl RefUnwindSafe for ConfigNotificationsUpdateSendmailRequest
impl Send for ConfigNotificationsUpdateSendmailRequest
impl Sync for ConfigNotificationsUpdateSendmailRequest
impl Unpin for ConfigNotificationsUpdateSendmailRequest
impl UnsafeUnpin for ConfigNotificationsUpdateSendmailRequest
impl UnwindSafe for ConfigNotificationsUpdateSendmailRequest
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