pub struct Message {
pub to: String,
pub from: String,
pub reply_to: Option<String>,
pub subject: String,
pub html: String,
pub text: String,
pub idempotency_key: Option<String>,
pub tags: Vec<String>,
}Expand description
An outbound mail. text is always sent alongside html.
Fields§
§to: String§from: String§reply_to: Option<String>§subject: String§html: String§text: String§idempotency_key: Option<String>Passed through as an Idempotency-Key where the provider supports it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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