Struct lettre::smtp::client::net::ClientTlsParameters
[−]
[src]
pub struct ClientTlsParameters { pub connector: TlsConnector, pub domain: String, }
Parameters to use for secure clients
Fields
connector: TlsConnector
A connector from native-tls
domain: String
The domain to send during the TLS handshake
Methods
impl ClientTlsParameters
[src]
pub fn new(domain: String, connector: TlsConnector) -> ClientTlsParameters
[src]
Creates a ClientTlsParameters
Trait Implementations
impl Clone for ClientTlsParameters
[src]
fn clone(&self) -> ClientTlsParameters
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more