pub struct EmailPayload {
pub sender: String,
pub sender_name: Option<String>,
pub recipient: String,
pub subject: String,
pub body: String,
pub html_body: Option<String>,
pub headers: Option<HashMap<String, String>>,
}Fields§
§sender: String§sender_name: Option<String>§recipient: String§subject: String§body: String§html_body: Option<String>§headers: Option<HashMap<String, String>>Trait Implementations§
Source§impl Clone for EmailPayload
impl Clone for EmailPayload
Source§fn clone(&self) -> EmailPayload
fn clone(&self) -> EmailPayload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmailPayload
impl Debug for EmailPayload
Source§impl<'de> Deserialize<'de> for EmailPayload
impl<'de> Deserialize<'de> for EmailPayload
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
Auto Trait Implementations§
impl Freeze for EmailPayload
impl RefUnwindSafe for EmailPayload
impl Send for EmailPayload
impl Sync for EmailPayload
impl Unpin for EmailPayload
impl UnwindSafe for EmailPayload
Blanket Implementations§
Source§impl<T> ActonMessage for T
impl<T> ActonMessage for T
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