pub struct EditIntent {
pub state: Change<String>,
pub title: Change<String>,
pub priority: Change<String>,
pub tags_add: BTreeSet<String>,
pub tags_remove: BTreeSet<String>,
pub scheduled: Change<PlanningTimestamp>,
pub deadline: Change<PlanningTimestamp>,
pub properties: BTreeMap<String, Option<String>>,
pub note: Option<String>,
pub checklist: BTreeMap<usize, bool>,
}Fields§
§state: Change<String>§title: Change<String>§priority: Change<String>§scheduled: Change<PlanningTimestamp>§deadline: Change<PlanningTimestamp>§properties: BTreeMap<String, Option<String>>§note: Option<String>§checklist: BTreeMap<usize, bool>Checklist boxes to set, by their place in the entry’s checklist (0 first): true checks, false unchecks.
Implementations§
Source§impl EditIntent
impl EditIntent
Sourcepub fn operation(&self) -> JournalOperation
pub fn operation(&self) -> JournalOperation
What the journal calls this edit: the one kind of change it makes,
with or without a note, else Edit.
Trait Implementations§
Source§impl Clone for EditIntent
impl Clone for EditIntent
Source§impl Debug for EditIntent
impl Debug for EditIntent
Source§impl Default for EditIntent
impl Default for EditIntent
impl Eq for EditIntent
Source§impl PartialEq for EditIntent
impl PartialEq for EditIntent
impl StructuralPartialEq for EditIntent
Auto Trait Implementations§
impl Freeze for EditIntent
impl RefUnwindSafe for EditIntent
impl Send for EditIntent
impl Sync for EditIntent
impl Unpin for EditIntent
impl UnsafeUnpin for EditIntent
impl UnwindSafe for EditIntent
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