pub struct ProviderOptions {
pub strict_tls: bool,
pub max_smtp_rcpt_to: Option<u16>,
pub delete_to_trash: bool,
}
Expand description
Provider options with good defaults.
Fields§
§strict_tls: bool
True if provider is known to use use proper, not self-signed certificates.
max_smtp_rcpt_to: Option<u16>
Maximum number of recipients the provider allows to send a single email to.
delete_to_trash: bool
Move messages to the Trash folder instead of marking them “\Deleted”.
Implementations§
Trait Implementations§
source§impl Debug for ProviderOptions
impl Debug for ProviderOptions
source§impl PartialEq for ProviderOptions
impl PartialEq for ProviderOptions
impl Eq for ProviderOptions
impl StructuralPartialEq for ProviderOptions
Auto Trait Implementations§
impl Freeze for ProviderOptions
impl RefUnwindSafe for ProviderOptions
impl Send for ProviderOptions
impl Sync for ProviderOptions
impl Unpin for ProviderOptions
impl UnwindSafe for ProviderOptions
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.