pub struct EmailObject {
pub sender: EmailAddress,
pub to: Vec<EmailAddress>,
pub subject: String,
pub plain: String,
pub html: String,
}Fields§
§sender: EmailAddress§to: Vec<EmailAddress>§subject: String§plain: String§html: StringTrait Implementations§
Source§impl Clone for EmailObject
impl Clone for EmailObject
Source§fn clone(&self) -> EmailObject
fn clone(&self) -> EmailObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmailObject
impl Debug for EmailObject
Source§impl Default for EmailObject
impl Default for EmailObject
Source§fn default() -> EmailObject
fn default() -> EmailObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmailObject
impl<'de> Deserialize<'de> for EmailObject
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 EmailObject
impl RefUnwindSafe for EmailObject
impl Send for EmailObject
impl Sync for EmailObject
impl Unpin for EmailObject
impl UnsafeUnpin for EmailObject
impl UnwindSafe for EmailObject
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