pub struct ServerSpec {
pub host: &'static str,
pub port: u16,
pub security: Security,
}Expand description
One protocol endpoint (SMTP / IMAP / POP3).
Fields§
§host: &'static str§port: u16§security: SecurityTrait Implementations§
Source§impl Clone for ServerSpec
impl Clone for ServerSpec
Source§fn clone(&self) -> ServerSpec
fn clone(&self) -> ServerSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServerSpec
impl Debug for ServerSpec
impl Copy for ServerSpec
Auto Trait Implementations§
impl Freeze for ServerSpec
impl RefUnwindSafe for ServerSpec
impl Send for ServerSpec
impl Sync for ServerSpec
impl Unpin for ServerSpec
impl UnsafeUnpin for ServerSpec
impl UnwindSafe for ServerSpec
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