pub enum Event {
Show 17 variants
TitleSet(String),
NotesSet(Option<String>),
StatusSet(Status),
ScheduleSet(Option<Due>),
EstimateSet(Option<Duration>),
TimeSpentAdded(Duration),
TagAdded(String),
TagRemoved(String),
Assigned(Id),
Unassigned(Id),
Claimed(Id),
RecurrenceSet(Option<Recurrence>),
IssueRefSet(Option<IssueRef>),
TimeLogSet(BTreeMap<Date, Duration>),
ArchivedSet(bool),
AttachmentAdded(Attachment),
AttachmentRemoved(Id),
}Expand description
The decided result of a command, folded by apply.
Variants§
TitleSet(String)
NotesSet(Option<String>)
StatusSet(Status)
ScheduleSet(Option<Due>)
EstimateSet(Option<Duration>)
TimeSpentAdded(Duration)
TagAdded(String)
TagRemoved(String)
Assigned(Id)
Unassigned(Id)
Claimed(Id)
Sets wip and marks (or adds) the claimer’s assignment as claimed.
RecurrenceSet(Option<Recurrence>)
IssueRefSet(Option<IssueRef>)
TimeLogSet(BTreeMap<Date, Duration>)
ArchivedSet(bool)
AttachmentAdded(Attachment)
AttachmentRemoved(Id)
Trait Implementations§
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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