Struct nettu_scheduler_domain::Reminder [−][src]
pub struct Reminder {
pub event_id: ID,
pub account_id: ID,
pub remind_at: i64,
pub version: i64,
pub identifier: String,
}
Expand description
A Reminder
represents a specific time before the occurrence a
CalendarEvent
at which the owner Account
should be notified.
Fields
event_id: ID
The CalendarEvent
this Reminder
is associated with
account_id: ID
The Account
this Reminder
is associated with and which
should receive a webhook notification at remind_at
remind_at: i64
The timestamp at which the Account
should be notified.
This is usually some minutes before a CalendarEvent
version: i64
This field is needed to avoid sending duplicate Reminder
s to the Account
.
For more info see the db schema comments
identifier: String
User defined identifier to be able to separate reminders at same timestamp for the same event. For example: “ask_for_booking_review” or “send_invoice”
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Reminder
impl UnwindSafe for Reminder
Blanket Implementations
Mutably borrows from an owned value. Read more