pub struct ImapServerConfig {
pub host: String,
pub port: u16,
pub tls_port: Option<u16>,
}Expand description
IMAP server configuration
Fields§
§host: String§port: u16§tls_port: Option<u16>Trait Implementations§
Source§impl Clone for ImapServerConfig
impl Clone for ImapServerConfig
Source§fn clone(&self) -> ImapServerConfig
fn clone(&self) -> ImapServerConfig
Returns a duplicate 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 ImapServerConfig
impl Debug for ImapServerConfig
Source§impl<'de> Deserialize<'de> for ImapServerConfig
impl<'de> Deserialize<'de> for ImapServerConfig
Source§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
Auto Trait Implementations§
impl Freeze for ImapServerConfig
impl RefUnwindSafe for ImapServerConfig
impl Send for ImapServerConfig
impl Sync for ImapServerConfig
impl Unpin for ImapServerConfig
impl UnsafeUnpin for ImapServerConfig
impl UnwindSafe for ImapServerConfig
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