pub struct Group<'x> {
pub name: Option<Cow<'x, str>>,
pub addresses: Vec<Addr<'x>>,
}
Expand description
An RFC5322 address group.
Fields§
§name: Option<Cow<'x, str>>
Group name
addresses: Vec<Addr<'x>>
Addressess member of the group
Implementations§
Trait Implementations§
Source§impl<'de, 'x> Deserialize<'de> for Group<'x>
impl<'de, 'x> Deserialize<'de> for Group<'x>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<'x> Eq for Group<'x>
impl<'x> StructuralPartialEq for Group<'x>
Auto Trait Implementations§
impl<'x> Freeze for Group<'x>
impl<'x> RefUnwindSafe for Group<'x>
impl<'x> Send for Group<'x>
impl<'x> Sync for Group<'x>
impl<'x> Unpin for Group<'x>
impl<'x> UnwindSafe for Group<'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