Struct vsmtp_common::AuthProperties
pub struct AuthProperties {
pub authenticated: bool,
pub cancel_count: usize,
pub credentials: Option<Credentials>,
}Expand description
Properties of the authentication SASL
Fields§
§authenticated: boolHas the SASL authentication been successful?
cancel_count: usizeNumber of times the SASL authentication has been canceled by the client
credentials: Option<Credentials>The credentials used for authentication
Trait Implementations§
§impl Clone for AuthProperties
impl Clone for AuthProperties
§fn clone(&self) -> AuthProperties
fn clone(&self) -> AuthProperties
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AuthProperties
impl Debug for AuthProperties
§impl<'de> Deserialize<'de> for AuthProperties
impl<'de> Deserialize<'de> for AuthProperties
§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 PartialEq<AuthProperties> for AuthProperties
impl PartialEq<AuthProperties> for AuthProperties
§fn eq(&self, other: &AuthProperties) -> bool
fn eq(&self, other: &AuthProperties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.