pub enum DotPolicy {
Preserve,
GmailOnly,
Always,
}Expand description
How to handle dots in the local part.
Variants§
Preserve
Do not strip dots.
GmailOnly
Strip dots only for known providers that ignore them (Gmail, Googlemail).
Always
Always strip dots from local part.
Trait Implementations§
impl Copy for DotPolicy
impl Eq for DotPolicy
impl StructuralPartialEq for DotPolicy
Auto Trait Implementations§
impl Freeze for DotPolicy
impl RefUnwindSafe for DotPolicy
impl Send for DotPolicy
impl Sync for DotPolicy
impl Unpin for DotPolicy
impl UnsafeUnpin for DotPolicy
impl UnwindSafe for DotPolicy
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