pub struct ReminderDraft {
pub title: String,
pub notes: String,
pub due: Option<String>,
pub priority: Option<u8>,
pub completed: bool,
}Expand description
Fields written by create and update. An update replaces all of them, so a
None removes the property.
Fields§
§title: StringTitle.
notes: StringNotes.
due: Option<String>Due date, when the reminder has one.
priority: Option<u8>Priority from 1 (highest) to 9, when set.
completed: boolThe reminder is completed.
Trait Implementations§
Source§impl Clone for ReminderDraft
impl Clone for ReminderDraft
Source§impl Debug for ReminderDraft
impl Debug for ReminderDraft
impl Eq for ReminderDraft
Source§impl PartialEq for ReminderDraft
impl PartialEq for ReminderDraft
impl StructuralPartialEq for ReminderDraft
Auto Trait Implementations§
impl Forget for ReminderDraft
impl Freeze for ReminderDraft
impl Move for ReminderDraft
impl RefUnwindSafe for ReminderDraft
impl Send for ReminderDraftwhere
RawVecInner: Send,
impl Sync for ReminderDraftwhere
RawVecInner: Sync,
impl Unpin for ReminderDraft
impl UnsafeUnpin for ReminderDraft
impl UnwindSafe for ReminderDraftwhere
RawVecInner: UnwindSafe,
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