Struct email_parser::Email
source · pub struct Email {
pub(crate) local: String,
pub(crate) domain: String,
}
Expand description
This is the core of the crate. Defines email address type which can be constructed by parsing a string literal. As long as it is constructed properly, then it means the email address is valid.
Fields§
§local: String
§domain: String
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Email
impl Send for Email
impl Sync for Email
impl Unpin for Email
impl UnwindSafe for Email
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