pub struct Destination<'a> {
pub address: &'a str,
pub name: &'a str,
}
Expand description
A destination is a combination of an email address and a name to whom emails can be sent.
Fields§
§address: &'a str
The email address to which the email will be sent.
name: &'a str
The display name of the recipient.
Trait Implementations§
Source§impl<'a> Debug for Destination<'a>
impl<'a> Debug for Destination<'a>
Auto Trait Implementations§
impl<'a> Freeze for Destination<'a>
impl<'a> RefUnwindSafe for Destination<'a>
impl<'a> Send for Destination<'a>
impl<'a> Sync for Destination<'a>
impl<'a> Unpin for Destination<'a>
impl<'a> UnwindSafe for Destination<'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