pub struct EmailAddress<'a> {
pub local_part: Cow<'a, str>,
pub domain: Cow<'a, str>,
}
Fields§
§local_part: Cow<'a, str>
§domain: Cow<'a, str>
Trait Implementations§
Source§impl<'a> Clone for EmailAddress<'a>
impl<'a> Clone for EmailAddress<'a>
Source§fn clone(&self) -> EmailAddress<'a>
fn clone(&self) -> EmailAddress<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for EmailAddress<'a>
impl<'a> RefUnwindSafe for EmailAddress<'a>
impl<'a> Send for EmailAddress<'a>
impl<'a> Sync for EmailAddress<'a>
impl<'a> Unpin for EmailAddress<'a>
impl<'a> UnwindSafe for EmailAddress<'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