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: i32
Implementations
sourceimpl Notification
impl Notification
pub fn print_date(&self) -> String
Trait Implementations
sourceimpl From<Notification> for Notification
impl From<Notification> for Notification
sourcefn from(n: Notification) -> Self
fn from(n: Notification) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more