pub struct Email<'a> {
pub user: &'a str,
pub domain: &'a str,
}Expand description
A email address.
Fields§
§user: &'a strThe username portion of the email.
domain: &'a strThe domain portion of the email.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Email<'a>
impl<'a> RefUnwindSafe for Email<'a>
impl<'a> Send for Email<'a>
impl<'a> Sync for Email<'a>
impl<'a> Unpin for Email<'a>
impl<'a> UnwindSafe for Email<'a>
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