Struct elefren::entities::notification::Notification[][src]

pub struct Notification {
    pub id: String,
    pub notification_type: NotificationType,
    pub created_at: DateTime<Utc>,
    pub account: Account,
    pub status: Option<Status>,
}

A struct containing info about a notification.

Fields

The notification ID.

The type of notification.

The time the notification was created.

The Account sending the notification to the user.

The Status associated with the notification, if applicable.

Trait Implementations

impl Debug for Notification
[src]

Formats the value using the given formatter. Read more

impl Clone for Notification
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations