pub struct ConfigNotificationsGetSendmailResponseDataInner {
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 ConfigNotificationsGetSendmailResponseDataInner
impl Clone for ConfigNotificationsGetSendmailResponseDataInner
Source§fn clone(&self) -> ConfigNotificationsGetSendmailResponseDataInner
fn clone(&self) -> ConfigNotificationsGetSendmailResponseDataInner
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 ConfigNotificationsGetSendmailResponseDataInner
impl Default for ConfigNotificationsGetSendmailResponseDataInner
Source§fn default() -> ConfigNotificationsGetSendmailResponseDataInner
fn default() -> ConfigNotificationsGetSendmailResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigNotificationsGetSendmailResponseDataInner
impl<'de> Deserialize<'de> for ConfigNotificationsGetSendmailResponseDataInner
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 ConfigNotificationsGetSendmailResponseDataInner
impl PartialEq for ConfigNotificationsGetSendmailResponseDataInner
Source§fn eq(&self, other: &ConfigNotificationsGetSendmailResponseDataInner) -> bool
fn eq(&self, other: &ConfigNotificationsGetSendmailResponseDataInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigNotificationsGetSendmailResponseDataInner
Auto Trait Implementations§
impl Freeze for ConfigNotificationsGetSendmailResponseDataInner
impl RefUnwindSafe for ConfigNotificationsGetSendmailResponseDataInner
impl Send for ConfigNotificationsGetSendmailResponseDataInner
impl Sync for ConfigNotificationsGetSendmailResponseDataInner
impl Unpin for ConfigNotificationsGetSendmailResponseDataInner
impl UnsafeUnpin for ConfigNotificationsGetSendmailResponseDataInner
impl UnwindSafe for ConfigNotificationsGetSendmailResponseDataInner
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