pub enum SmtpAuthenticationMethods {
None,
AutoDetect,
Plain,
Login,
CramMd5,
UnsupportedValue,
}Variants§
None
No authentication.
This value shall indicate authentication is not required.
AutoDetect
Auto-detect.
This value shall indicate authentication is auto-detected.
Plain
PLAIN authentication.
This value shall indicate authentication conforms to the RFC4954-defined AUTH PLAIN mechanism.
Login
LOGIN authentication.
This value shall indicate authentication conforms to the RFC4954-defined AUTH LOGIN mechanism.
CramMd5
CRAM-MD5 authentication.
This value shall indicate authentication conforms to the RFC4954-defined AUTH CRAM-MD5 mechanism.
UnsupportedValue
Fallback value for values that are not supported by current version of Redfish schema.
Trait Implementations§
Source§impl Clone for SmtpAuthenticationMethods
impl Clone for SmtpAuthenticationMethods
Source§fn clone(&self) -> SmtpAuthenticationMethods
fn clone(&self) -> SmtpAuthenticationMethods
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 moreimpl Copy for SmtpAuthenticationMethods
Source§impl Debug for SmtpAuthenticationMethods
impl Debug for SmtpAuthenticationMethods
Source§impl<'de> Deserialize<'de> for SmtpAuthenticationMethods
impl<'de> Deserialize<'de> for SmtpAuthenticationMethods
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
impl Eq for SmtpAuthenticationMethods
Source§impl PartialEq for SmtpAuthenticationMethods
impl PartialEq for SmtpAuthenticationMethods
Source§fn eq(&self, other: &SmtpAuthenticationMethods) -> bool
fn eq(&self, other: &SmtpAuthenticationMethods) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SmtpAuthenticationMethods
Source§impl ToSnakeCase for SmtpAuthenticationMethods
impl ToSnakeCase for SmtpAuthenticationMethods
Source§fn to_snake_case(&self) -> &'static str
fn to_snake_case(&self) -> &'static str
Convert this enum variant to a
snake_case stringAuto Trait Implementations§
impl Freeze for SmtpAuthenticationMethods
impl RefUnwindSafe for SmtpAuthenticationMethods
impl Send for SmtpAuthenticationMethods
impl Sync for SmtpAuthenticationMethods
impl Unpin for SmtpAuthenticationMethods
impl UnsafeUnpin for SmtpAuthenticationMethods
impl UnwindSafe for SmtpAuthenticationMethods
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