pub enum JournalOperation {
Capture,
State,
Schedule,
Deadline,
Priority,
Tags,
Checklist,
Edit,
Refile,
}Expand description
What a journaled write did, so every surface names a change the same way without reading its diff. A review, undo or resolve keeps the operation of the change it settles.
Variants§
Capture
State
A TODO state change.
Schedule
SCHEDULED set or removed.
Deadline
DEADLINE set or removed.
Priority
Tags
Checklist
Checklist boxes checked or unchecked.
Edit
Any other edit, or one that changes several of the above.
Refile
Implementations§
Trait Implementations§
Source§impl Clone for JournalOperation
impl Clone for JournalOperation
impl Copy for JournalOperation
Source§impl Debug for JournalOperation
impl Debug for JournalOperation
Source§impl<'de> Deserialize<'de> for JournalOperation
impl<'de> Deserialize<'de> for JournalOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for JournalOperation
Source§impl PartialEq for JournalOperation
impl PartialEq for JournalOperation
Source§impl Serialize for JournalOperation
impl Serialize for JournalOperation
impl StructuralPartialEq for JournalOperation
Auto Trait Implementations§
impl Freeze for JournalOperation
impl RefUnwindSafe for JournalOperation
impl Send for JournalOperation
impl Sync for JournalOperation
impl Unpin for JournalOperation
impl UnsafeUnpin for JournalOperation
impl UnwindSafe for JournalOperation
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