pub struct ImapServerConf {
pub hostname: Secret,
pub username: Secret,
pub password: Secret,
pub port: u16,
pub use_starttls: bool,
pub use_tls: bool,
pub trace: bool,
pub danger_accept_invalid_certs: bool,
pub protocol: ImapProtocol,
pub timeout: Option<Duration>,
}Fields§
§hostname: Secret§username: Secret§password: Secret§port: u16§use_starttls: bool§use_tls: bool§trace: bool§danger_accept_invalid_certs: bool§protocol: ImapProtocol§timeout: Option<Duration>Trait Implementations§
Source§impl Clone for ImapServerConf
impl Clone for ImapServerConf
Auto Trait Implementations§
impl Freeze for ImapServerConf
impl RefUnwindSafe for ImapServerConf
impl Send for ImapServerConf
impl Sync for ImapServerConf
impl Unpin for ImapServerConf
impl UnsafeUnpin for ImapServerConf
impl UnwindSafe for ImapServerConf
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