Struct mcaptcha::pages::panel::notifications::Notification
source · pub struct Notification {
pub name: String,
pub heading: String,
pub message: String,
pub received: OffsetDateTime,
pub id: i32,
}Fields§
§name: String§heading: String§message: String§received: OffsetDateTime§id: i32Implementations§
source§impl Notification
impl Notification
pub fn print_date(&self) -> String
Trait Implementations§
source§impl From<Notification> for Notification
impl From<Notification> for Notification
source§fn from(n: Notification) -> Self
fn from(n: Notification) -> Self
Converts to this type from the input type.