pub struct ClusterNotificationsGetSmtpEndpointsResponseDataInner {
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 origin: PveOriginEnum,
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.
origin: PveOriginEnumShow if this entry was created by a user or was built-in
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§
Source§impl ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl ClusterNotificationsGetSmtpEndpointsResponseDataInner
pub fn new( from_address: String, name: String, origin: PveOriginEnum, server: String, ) -> ClusterNotificationsGetSmtpEndpointsResponseDataInner
Trait Implementations§
Source§impl Clone for ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl Clone for ClusterNotificationsGetSmtpEndpointsResponseDataInner
Source§fn clone(&self) -> ClusterNotificationsGetSmtpEndpointsResponseDataInner
fn clone(&self) -> ClusterNotificationsGetSmtpEndpointsResponseDataInner
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 ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl Default for ClusterNotificationsGetSmtpEndpointsResponseDataInner
Source§fn default() -> ClusterNotificationsGetSmtpEndpointsResponseDataInner
fn default() -> ClusterNotificationsGetSmtpEndpointsResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl<'de> Deserialize<'de> for ClusterNotificationsGetSmtpEndpointsResponseDataInner
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 ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl PartialEq for ClusterNotificationsGetSmtpEndpointsResponseDataInner
Source§fn eq(
&self,
other: &ClusterNotificationsGetSmtpEndpointsResponseDataInner,
) -> bool
fn eq( &self, other: &ClusterNotificationsGetSmtpEndpointsResponseDataInner, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsGetSmtpEndpointsResponseDataInner
Auto Trait Implementations§
impl Freeze for ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl RefUnwindSafe for ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl Send for ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl Sync for ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl Unpin for ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl UnsafeUnpin for ClusterNotificationsGetSmtpEndpointsResponseDataInner
impl UnwindSafe for ClusterNotificationsGetSmtpEndpointsResponseDataInner
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