pub struct EmailTemplate {
pub template_name: String,
pub subject: Option<String>,
pub html_body: Option<String>,
pub text_body: Option<String>,
pub created_at: DateTime<Utc>,
}Fields§
§template_name: String§subject: Option<String>§html_body: Option<String>§text_body: Option<String>§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for EmailTemplate
impl Clone for EmailTemplate
Source§fn clone(&self) -> EmailTemplate
fn clone(&self) -> EmailTemplate
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 EmailTemplate
impl Debug for EmailTemplate
Auto Trait Implementations§
impl Freeze for EmailTemplate
impl RefUnwindSafe for EmailTemplate
impl Send for EmailTemplate
impl Sync for EmailTemplate
impl Unpin for EmailTemplate
impl UnsafeUnpin for EmailTemplate
impl UnwindSafe for EmailTemplate
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