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