pub enum ThreadItem<'a> {
Comment(usize, &'a Comment),
Change(&'a Activity),
}Expand description
One item of an entry’s thread, as the app and kb show list it: a comment, with its index among the comments, or a
change.
Variants§
Comment(usize, &'a Comment)
A comment, and where it is in Task::comments.
Change(&'a Activity)
A change to the title, tags, related entries or description.
Trait Implementations§
Source§impl<'a> Clone for ThreadItem<'a>
impl<'a> Clone for ThreadItem<'a>
impl<'a> Copy for ThreadItem<'a>
Source§impl<'a> Debug for ThreadItem<'a>
impl<'a> Debug for ThreadItem<'a>
impl<'a> Eq for ThreadItem<'a>
Source§impl<'a> PartialEq for ThreadItem<'a>
impl<'a> PartialEq for ThreadItem<'a>
impl<'a> StructuralPartialEq for ThreadItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for ThreadItem<'a>
impl<'a> RefUnwindSafe for ThreadItem<'a>
impl<'a> Send for ThreadItem<'a>
impl<'a> Sync for ThreadItem<'a>
impl<'a> Unpin for ThreadItem<'a>
impl<'a> UnsafeUnpin for ThreadItem<'a>
impl<'a> UnwindSafe for ThreadItem<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.