pub struct ClusterNotificationsCreateSendmailEndpointRequest {
pub author: Option<String>,
pub comment: Option<String>,
pub disable: Option<PveBoolean>,
pub from_address: Option<String>,
pub mailto: Option<Vec<String>>,
pub mailto_user: Option<Vec<String>>,
pub name: String,
}Fields§
Author of the mail
comment: Option<String>Comment
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
name: StringThe name of the endpoint.
Implementations§
Trait Implementations§
Source§impl Clone for ClusterNotificationsCreateSendmailEndpointRequest
impl Clone for ClusterNotificationsCreateSendmailEndpointRequest
Source§fn clone(&self) -> ClusterNotificationsCreateSendmailEndpointRequest
fn clone(&self) -> ClusterNotificationsCreateSendmailEndpointRequest
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 ClusterNotificationsCreateSendmailEndpointRequest
impl Default for ClusterNotificationsCreateSendmailEndpointRequest
Source§fn default() -> ClusterNotificationsCreateSendmailEndpointRequest
fn default() -> ClusterNotificationsCreateSendmailEndpointRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsCreateSendmailEndpointRequest
impl<'de> Deserialize<'de> for ClusterNotificationsCreateSendmailEndpointRequest
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 ClusterNotificationsCreateSendmailEndpointRequest
impl PartialEq for ClusterNotificationsCreateSendmailEndpointRequest
Source§fn eq(&self, other: &ClusterNotificationsCreateSendmailEndpointRequest) -> bool
fn eq(&self, other: &ClusterNotificationsCreateSendmailEndpointRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsCreateSendmailEndpointRequest
Auto Trait Implementations§
impl Freeze for ClusterNotificationsCreateSendmailEndpointRequest
impl RefUnwindSafe for ClusterNotificationsCreateSendmailEndpointRequest
impl Send for ClusterNotificationsCreateSendmailEndpointRequest
impl Sync for ClusterNotificationsCreateSendmailEndpointRequest
impl Unpin for ClusterNotificationsCreateSendmailEndpointRequest
impl UnsafeUnpin for ClusterNotificationsCreateSendmailEndpointRequest
impl UnwindSafe for ClusterNotificationsCreateSendmailEndpointRequest
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