pub struct Provider {
pub name: &'static str,
pub note: Option<&'static str>,
pub smtp: ServerSpec,
pub imap: ServerSpec,
pub pop: Option<ServerSpec>,
}Expand description
A named bundle of endpoints for one mail provider.
Fields§
§name: &'static strHuman-readable name shown in the UI dropdown.
note: Option<&'static str>Optional clarification shown under the dropdown - app-password requirements, “needs Proton Bridge running”, etc.
smtp: ServerSpec§imap: ServerSpec§pop: Option<ServerSpec>Some providers do not expose POP3 at all (iCloud, Proton Bridge,
Microsoft 365 work mailboxes in many tenants). None means
“leave the POP3 fields alone and disable the POP3 test by default”.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Provider
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnsafeUnpin for Provider
impl UnwindSafe for Provider
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