pub struct OutboundData { /* private fields */ }Implementations§
Source§impl OutboundData
impl OutboundData
Sourcepub fn content<S: Into<String>>(self, content: S) -> OutboundData
pub fn content<S: Into<String>>(self, content: S) -> OutboundData
Set content of email, this field is required.
Sourcepub fn sender<S: Into<String>>(self, sender: S) -> OutboundData
pub fn sender<S: Into<String>>(self, sender: S) -> OutboundData
Set sender of email, this field is optional.
Sourcepub fn subject<S: Into<String>>(self, subject: S) -> OutboundData
pub fn subject<S: Into<String>>(self, subject: S) -> OutboundData
Set subject of email, this field is optional.
Auto Trait Implementations§
impl Freeze for OutboundData
impl RefUnwindSafe for OutboundData
impl Send for OutboundData
impl Sync for OutboundData
impl Unpin for OutboundData
impl UnwindSafe for OutboundData
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