pub struct ClusterNotificationsUpdateSmtpEndpointRequest {Show 13 fields
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>>,
pub mode: Option<PveClusterNotificationsModeEnum>,
pub password: Option<String>,
pub port: Option<i64>,
pub server: Option<String>,
pub username: Option<String>,
}Fields§
Author of the mail. Defaults to ‘Proxmox VE’.
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
mode: Option<PveClusterNotificationsModeEnum>Determine which encryption method shall be used for the connection.
password: Option<String>Password for SMTP authentication
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: Option<String>The address of the SMTP server.
username: Option<String>Username for SMTP authentication
Implementations§
Trait Implementations§
Source§impl Clone for ClusterNotificationsUpdateSmtpEndpointRequest
impl Clone for ClusterNotificationsUpdateSmtpEndpointRequest
Source§fn clone(&self) -> ClusterNotificationsUpdateSmtpEndpointRequest
fn clone(&self) -> ClusterNotificationsUpdateSmtpEndpointRequest
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 ClusterNotificationsUpdateSmtpEndpointRequest
impl Default for ClusterNotificationsUpdateSmtpEndpointRequest
Source§fn default() -> ClusterNotificationsUpdateSmtpEndpointRequest
fn default() -> ClusterNotificationsUpdateSmtpEndpointRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsUpdateSmtpEndpointRequest
impl<'de> Deserialize<'de> for ClusterNotificationsUpdateSmtpEndpointRequest
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 ClusterNotificationsUpdateSmtpEndpointRequest
impl PartialEq for ClusterNotificationsUpdateSmtpEndpointRequest
Source§fn eq(&self, other: &ClusterNotificationsUpdateSmtpEndpointRequest) -> bool
fn eq(&self, other: &ClusterNotificationsUpdateSmtpEndpointRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsUpdateSmtpEndpointRequest
Auto Trait Implementations§
impl Freeze for ClusterNotificationsUpdateSmtpEndpointRequest
impl RefUnwindSafe for ClusterNotificationsUpdateSmtpEndpointRequest
impl Send for ClusterNotificationsUpdateSmtpEndpointRequest
impl Sync for ClusterNotificationsUpdateSmtpEndpointRequest
impl Unpin for ClusterNotificationsUpdateSmtpEndpointRequest
impl UnsafeUnpin for ClusterNotificationsUpdateSmtpEndpointRequest
impl UnwindSafe for ClusterNotificationsUpdateSmtpEndpointRequest
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