pub struct EmailData {
pub email: Option<String>,
pub subject: Option<String>,
pub body: Option<String>,
}Fields§
§email: Option<String>Email of the recipient
subject: Option<String>Subject of the email
body: Option<String>Body of the email to send as plain text.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EmailData
impl<'de> Deserialize<'de> for EmailData
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 StructuralPartialEq for EmailData
Auto Trait Implementations§
impl Freeze for EmailData
impl RefUnwindSafe for EmailData
impl Send for EmailData
impl Sync for EmailData
impl Unpin for EmailData
impl UnwindSafe for EmailData
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