pub struct ConfigNotificationsCreateSendmailRequest {
pub author: Option<String>,
pub comment: Option<String>,
pub disable: Option<bool>,
pub filter: Option<String>,
pub from_address: Option<String>,
pub mailto: Option<Vec<String>>,
pub mailto_user: Option<Vec<String>>,
pub name: String,
pub origin: Option<PbsOriginEnum>,
}Fields§
Author of the mail. Defaults to ‘Proxmox Backup Server ($hostname)’
comment: Option<String>Comment.
disable: Option<bool>Disable this target.
filter: Option<String>Deprecated.
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.
name: StringName schema for targets and matchers
origin: Option<PbsOriginEnum>The origin of a notification configuration entry.
Implementations§
Trait Implementations§
Source§impl Clone for ConfigNotificationsCreateSendmailRequest
impl Clone for ConfigNotificationsCreateSendmailRequest
Source§fn clone(&self) -> ConfigNotificationsCreateSendmailRequest
fn clone(&self) -> ConfigNotificationsCreateSendmailRequest
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 ConfigNotificationsCreateSendmailRequest
impl Default for ConfigNotificationsCreateSendmailRequest
Source§fn default() -> ConfigNotificationsCreateSendmailRequest
fn default() -> ConfigNotificationsCreateSendmailRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigNotificationsCreateSendmailRequest
impl<'de> Deserialize<'de> for ConfigNotificationsCreateSendmailRequest
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 ConfigNotificationsCreateSendmailRequest
impl PartialEq for ConfigNotificationsCreateSendmailRequest
Source§fn eq(&self, other: &ConfigNotificationsCreateSendmailRequest) -> bool
fn eq(&self, other: &ConfigNotificationsCreateSendmailRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigNotificationsCreateSendmailRequest
Auto Trait Implementations§
impl Freeze for ConfigNotificationsCreateSendmailRequest
impl RefUnwindSafe for ConfigNotificationsCreateSendmailRequest
impl Send for ConfigNotificationsCreateSendmailRequest
impl Sync for ConfigNotificationsCreateSendmailRequest
impl Unpin for ConfigNotificationsCreateSendmailRequest
impl UnsafeUnpin for ConfigNotificationsCreateSendmailRequest
impl UnwindSafe for ConfigNotificationsCreateSendmailRequest
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