pub struct IssueTimeline { /* private fields */ }Expand description
The timeline of changes of this Issue.
Implementations§
Source§impl IssueTimeline
impl IssueTimeline
Sourcepub fn body_history(&self) -> impl Iterator<Item = &BodyHistoryStep>
pub fn body_history(&self) -> impl Iterator<Item = &BodyHistoryStep>
Return an iterator over the BodyHistorySteps.
Sourcepub fn comments(&self) -> impl Iterator<Item = &CommentItem>
pub fn comments(&self) -> impl Iterator<Item = &CommentItem>
Return an iterator over the CommentItems.
Sourcepub fn labels_history(&self) -> impl Iterator<Item = &LabelHistoryStep>
pub fn labels_history(&self) -> impl Iterator<Item = &LabelHistoryStep>
Return an iterator over the LabelHistorySteps.
Sourcepub fn status_history(&self) -> impl Iterator<Item = &StatusHistoryStep>
pub fn status_history(&self) -> impl Iterator<Item = &StatusHistoryStep>
Return an iterator over the StatusHistorySteps.
Sourcepub fn title_history(&self) -> impl Iterator<Item = &TitleHistoryStep>
pub fn title_history(&self) -> impl Iterator<Item = &TitleHistoryStep>
Return an iterator over the TitleHistorySteps.
Sourcepub fn add_body_history(&mut self, item: BodyHistoryStep)
pub fn add_body_history(&mut self, item: BodyHistoryStep)
Add an BodyHistoryStep to this Timeline.
Sourcepub fn add_title_history(&mut self, item: TitleHistoryStep)
pub fn add_title_history(&mut self, item: TitleHistoryStep)
Add an TitleHistoryStep to this Timeline.
Sourcepub fn add_status_history(&mut self, item: StatusHistoryStep)
pub fn add_status_history(&mut self, item: StatusHistoryStep)
Add an StatusHistoryStep to this Timeline.
Sourcepub fn add_label_history(&mut self, item: LabelHistoryStep)
pub fn add_label_history(&mut self, item: LabelHistoryStep)
Add an LabelHistoryStep to this Timeline.
Sourcepub fn add_comment_history(
&mut self,
item: CommentHistoryStep,
id: EntityId<Issue>,
)
pub fn add_comment_history( &mut self, item: CommentHistoryStep, id: EntityId<Issue>, )
Add an CommentHistoryStep to this Timeline.
This also needs the EntityId of the comment, this history step targets.
If a comment with this Id is not yet recorded, it is added.
Trait Implementations§
Source§impl Clone for IssueTimeline
impl Clone for IssueTimeline
Source§fn clone(&self) -> IssueTimeline
fn clone(&self) -> IssueTimeline
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 IssueTimeline
impl Debug for IssueTimeline
Auto Trait Implementations§
impl Freeze for IssueTimeline
impl RefUnwindSafe for IssueTimeline
impl Send for IssueTimeline
impl Sync for IssueTimeline
impl Unpin for IssueTimeline
impl UnwindSafe for IssueTimeline
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