pub struct ClusterNotificationsGetSmtpEndpointResponseData {
pub author: Option<String>,
pub comment: Option<String>,
pub digest: Option<String>,
pub disable: Option<PveBoolean>,
pub from_address: String,
pub mailto: Option<Vec<String>>,
pub mailto_user: Option<Vec<String>>,
pub mode: Option<PveClusterNotificationsModeEnum>,
pub name: String,
pub port: Option<i64>,
pub server: String,
pub username: Option<String>,
}Fields§
Author of the mail. Defaults to ‘Proxmox VE’.
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: StringFrom address for the mail
mailto: Option<Vec<String>>List of email recipients
mailto_user: Option<Vec<String>>List of users
mode: Option<PveClusterNotificationsModeEnum>Determine which encryption method shall be used for the connection.
name: StringThe name of the endpoint.
port: Option<i64>The port to be used. Defaults to 465 for TLS based connections, 587 for STARTTLS based connections and port 25 for insecure plain-text connections.
server: StringThe address of the SMTP server.
username: Option<String>Username for SMTP authentication
Implementations§
Trait Implementations§
Source§impl Clone for ClusterNotificationsGetSmtpEndpointResponseData
impl Clone for ClusterNotificationsGetSmtpEndpointResponseData
Source§fn clone(&self) -> ClusterNotificationsGetSmtpEndpointResponseData
fn clone(&self) -> ClusterNotificationsGetSmtpEndpointResponseData
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 ClusterNotificationsGetSmtpEndpointResponseData
impl Default for ClusterNotificationsGetSmtpEndpointResponseData
Source§fn default() -> ClusterNotificationsGetSmtpEndpointResponseData
fn default() -> ClusterNotificationsGetSmtpEndpointResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsGetSmtpEndpointResponseData
impl<'de> Deserialize<'de> for ClusterNotificationsGetSmtpEndpointResponseData
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 ClusterNotificationsGetSmtpEndpointResponseData
impl PartialEq for ClusterNotificationsGetSmtpEndpointResponseData
Source§fn eq(&self, other: &ClusterNotificationsGetSmtpEndpointResponseData) -> bool
fn eq(&self, other: &ClusterNotificationsGetSmtpEndpointResponseData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsGetSmtpEndpointResponseData
Auto Trait Implementations§
impl Freeze for ClusterNotificationsGetSmtpEndpointResponseData
impl RefUnwindSafe for ClusterNotificationsGetSmtpEndpointResponseData
impl Send for ClusterNotificationsGetSmtpEndpointResponseData
impl Sync for ClusterNotificationsGetSmtpEndpointResponseData
impl Unpin for ClusterNotificationsGetSmtpEndpointResponseData
impl UnsafeUnpin for ClusterNotificationsGetSmtpEndpointResponseData
impl UnwindSafe for ClusterNotificationsGetSmtpEndpointResponseData
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