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