Struct create_rust_app::DefaultMailTemplates
source · pub struct DefaultMailTemplates {
pub base_url: String,
}
Fields§
§base_url: String
Implementations§
Trait Implementations§
source§impl Clone for DefaultMailTemplates
impl Clone for DefaultMailTemplates
source§fn clone(&self) -> DefaultMailTemplates
fn clone(&self) -> DefaultMailTemplates
Returns a copy 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 Default for DefaultMailTemplates
impl Default for DefaultMailTemplates
source§impl EmailTemplates for DefaultMailTemplates
impl EmailTemplates for DefaultMailTemplates
fn send_activated(&self, mailer: &Mailer, to_email: &str)
fn send_password_changed(&self, mailer: &Mailer, to_email: &str)
fn send_password_reset(&self, mailer: &Mailer, to_email: &str)
fn send_recover_existent_account( &self, mailer: &Mailer, to_email: &str, url_path: &str )
fn send_recover_nonexistent_account( &self, mailer: &Mailer, to_email: &str, url_path: &str )
fn send_register(&self, mailer: &Mailer, to_email: &str, url_path: &str)
Auto Trait Implementations§
impl RefUnwindSafe for DefaultMailTemplates
impl Send for DefaultMailTemplates
impl Sync for DefaultMailTemplates
impl Unpin for DefaultMailTemplates
impl UnwindSafe for DefaultMailTemplates
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more