pub trait MailNotifiable: Authenticatable {
// Required method
fn notification_email(&self) -> String;
}Expand description
A notifiable that knows its own mail address - Laravel’s
routeNotificationForMail(), narrowed to the common case (one,
always-available address) rather than Laravel’s full per-notification
override mechanism.
Required Methods§
fn notification_email(&self) -> String
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".