Struct deltachat::login_param::ServerLoginParam
source · pub struct ServerLoginParam {
pub server: String,
pub user: String,
pub password: String,
pub port: u16,
pub security: Socket,
pub oauth2: bool,
pub certificate_checks: CertificateChecks,
}
Expand description
Login parameters for a single server, either IMAP or SMTP
Fields§
§server: String
§user: String
§password: String
§port: u16
§security: Socket
§oauth2: bool
§certificate_checks: CertificateChecks
TLS options: whether to allow invalid certificates and/or invalid hostnames
Trait Implementations§
source§impl Clone for ServerLoginParam
impl Clone for ServerLoginParam
source§fn clone(&self) -> ServerLoginParam
fn clone(&self) -> ServerLoginParam
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 moresource§impl Debug for ServerLoginParam
impl Debug for ServerLoginParam
source§impl Default for ServerLoginParam
impl Default for ServerLoginParam
source§fn default() -> ServerLoginParam
fn default() -> ServerLoginParam
Returns the “default value” for a type. Read more
source§impl PartialEq for ServerLoginParam
impl PartialEq for ServerLoginParam
source§fn eq(&self, other: &ServerLoginParam) -> bool
fn eq(&self, other: &ServerLoginParam) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ServerLoginParam
impl StructuralPartialEq for ServerLoginParam
Auto Trait Implementations§
impl RefUnwindSafe for ServerLoginParam
impl Send for ServerLoginParam
impl Sync for ServerLoginParam
impl Unpin for ServerLoginParam
impl UnwindSafe for ServerLoginParam
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.