pub struct GroupedAddresses<'x> {
pub name: Option<Cow<'x, str>>,
pub addresses: Vec<Address<'x>>,
}Expand description
RFC5322 grouped e-mail addresses
Fields§
§name: Option<Cow<'x, str>>§addresses: Vec<Address<'x>>Trait Implementations§
Source§impl<'x> Clone for GroupedAddresses<'x>
impl<'x> Clone for GroupedAddresses<'x>
Source§impl<'x> Debug for GroupedAddresses<'x>
impl<'x> Debug for GroupedAddresses<'x>
impl<'x> Eq for GroupedAddresses<'x>
Source§impl<'x> Header for GroupedAddresses<'x>
impl<'x> Header for GroupedAddresses<'x>
Source§impl<'x> Ord for GroupedAddresses<'x>
impl<'x> Ord for GroupedAddresses<'x>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<'x> PartialEq for GroupedAddresses<'x>
impl<'x> PartialEq for GroupedAddresses<'x>
Source§impl<'x> PartialOrd for GroupedAddresses<'x>
impl<'x> PartialOrd for GroupedAddresses<'x>
impl<'x> StructuralPartialEq for GroupedAddresses<'x>
Auto Trait Implementations§
impl<'x> Freeze for GroupedAddresses<'x>
impl<'x> RefUnwindSafe for GroupedAddresses<'x>
impl<'x> Send for GroupedAddresses<'x>
impl<'x> Sync for GroupedAddresses<'x>
impl<'x> Unpin for GroupedAddresses<'x>
impl<'x> UnsafeUnpin for GroupedAddresses<'x>
impl<'x> UnwindSafe for GroupedAddresses<'x>
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