pub struct ClusterNotificationsUpdateSendmailEndpointRequest {
pub author: Option<String>,
pub comment: Option<String>,
pub delete: Option<Vec<String>>,
pub digest: Option<String>,
pub disable: Option<PveBoolean>,
pub from_address: Option<String>,
pub mailto: Option<Vec<String>>,
pub mailto_user: Option<Vec<String>>,
}Fields§
Author of the mail
comment: Option<String>Comment
delete: Option<Vec<String>>A list of settings you want to delete.
digest: Option<String>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
disable: Option<PveBoolean>Disable this target
from_address: Option<String>From address for the mail
mailto: Option<Vec<String>>List of email recipients
mailto_user: Option<Vec<String>>List of users
Implementations§
Trait Implementations§
Source§impl Clone for ClusterNotificationsUpdateSendmailEndpointRequest
impl Clone for ClusterNotificationsUpdateSendmailEndpointRequest
Source§fn clone(&self) -> ClusterNotificationsUpdateSendmailEndpointRequest
fn clone(&self) -> ClusterNotificationsUpdateSendmailEndpointRequest
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 ClusterNotificationsUpdateSendmailEndpointRequest
impl Default for ClusterNotificationsUpdateSendmailEndpointRequest
Source§fn default() -> ClusterNotificationsUpdateSendmailEndpointRequest
fn default() -> ClusterNotificationsUpdateSendmailEndpointRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsUpdateSendmailEndpointRequest
impl<'de> Deserialize<'de> for ClusterNotificationsUpdateSendmailEndpointRequest
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 ClusterNotificationsUpdateSendmailEndpointRequest
impl PartialEq for ClusterNotificationsUpdateSendmailEndpointRequest
Source§fn eq(&self, other: &ClusterNotificationsUpdateSendmailEndpointRequest) -> bool
fn eq(&self, other: &ClusterNotificationsUpdateSendmailEndpointRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsUpdateSendmailEndpointRequest
Auto Trait Implementations§
impl Freeze for ClusterNotificationsUpdateSendmailEndpointRequest
impl RefUnwindSafe for ClusterNotificationsUpdateSendmailEndpointRequest
impl Send for ClusterNotificationsUpdateSendmailEndpointRequest
impl Sync for ClusterNotificationsUpdateSendmailEndpointRequest
impl Unpin for ClusterNotificationsUpdateSendmailEndpointRequest
impl UnsafeUnpin for ClusterNotificationsUpdateSendmailEndpointRequest
impl UnwindSafe for ClusterNotificationsUpdateSendmailEndpointRequest
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