pub enum IssueHistoryStep {
Comment(CommentItem),
Status(StatusHistoryStep),
Label(LabelHistoryStep),
Body(BodyHistoryStep),
Title(TitleHistoryStep),
}Expand description
This is needed to keep an global order on all the events.
Otherwise, we would know which comment came before the other comments, but not whether an label change came before an certain comment.
Variants§
Comment(CommentItem)
A Comment change in the history.
Status(StatusHistoryStep)
A Status change in the history.
Label(LabelHistoryStep)
A Label change in the history.
Body(BodyHistoryStep)
A Body change in the history.
Title(TitleHistoryStep)
A Title change in the history.
Trait Implementations§
Source§impl Clone for IssueHistoryStep
impl Clone for IssueHistoryStep
Source§fn clone(&self) -> IssueHistoryStep
fn clone(&self) -> IssueHistoryStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IssueHistoryStep
impl Debug for IssueHistoryStep
Auto Trait Implementations§
impl Freeze for IssueHistoryStep
impl RefUnwindSafe for IssueHistoryStep
impl Send for IssueHistoryStep
impl Sync for IssueHistoryStep
impl Unpin for IssueHistoryStep
impl UnwindSafe for IssueHistoryStep
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