#[non_exhaustive]pub struct Reminder {
pub field: String,
pub message: Option<String>,
pub criteria: Option<String>,
}Expand description
The field of a record that says when to remind people of it, and what to say.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.field: StringThe date and time it is due; empty means nothing to remind.
message: Option<String>The field that says what it is about; nothing means what names the record.
criteria: Option<String>An expression for whom it is, where ?CurrentUserId and ?CurrentUserName are the person.
Implementations§
Trait Implementations§
impl Eq for Reminder
impl StructuralPartialEq for Reminder
Auto Trait Implementations§
impl Freeze for Reminder
impl RefUnwindSafe for Reminder
impl Send for Reminder
impl Sync for Reminder
impl Unpin for Reminder
impl UnsafeUnpin for Reminder
impl UnwindSafe for Reminder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more