pub struct TimelineIssueEvents {Show 42 fields
pub id: i32,
pub node_id: String,
pub url: String,
pub actor: Box<SimpleUser>,
pub event: String,
pub commit_id: Option<String>,
pub commit_url: Option<String>,
pub created_at: String,
pub performed_via_github_app: Option<Box<NullableIntegration>>,
pub label: Box<LabeledIssueEventLabel>,
pub milestone: Box<MilestonedIssueEventMilestone>,
pub rename: Box<RenamedIssueEventRename>,
pub review_requester: Box<SimpleUser>,
pub requested_team: Option<Box<Team>>,
pub requested_reviewer: Option<Box<SimpleUser>>,
pub dismissed_review: Box<ReviewDismissedIssueEventDismissedReview>,
pub lock_reason: Option<String>,
pub project_card: Option<Box<AddedToProjectIssueEventProjectCard>>,
pub body: Option<String>,
pub body_text: Option<String>,
pub body_html: Option<String>,
pub html_url: String,
pub user: Box<SimpleUser>,
pub updated_at: String,
pub issue_url: String,
pub author_association: AuthorAssociation,
pub reactions: Option<Box<ReactionRollup>>,
pub source: Box<TimelineCrossReferencedEventSource>,
pub sha: String,
pub author: Box<GitCommitAuthor>,
pub committer: Box<GitCommitAuthor>,
pub message: String,
pub tree: Box<GitCommitTree>,
pub parents: Vec<GitCommitParentsInner>,
pub verification: Box<GitCommitVerification>,
pub state: String,
pub pull_request_url: String,
pub _links: Box<TimelineReviewedEventLinks>,
pub submitted_at: Option<String>,
pub comments: Option<Vec<CommitComment>>,
pub assignee: Box<SimpleUser>,
pub state_reason: Option<Option<String>>,
}
Expand description
TimelineIssueEvents : Timeline Event
Fields§
§id: i32
§node_id: String
§url: String
§actor: Box<SimpleUser>
§event: String
§commit_id: Option<String>
§commit_url: Option<String>
§created_at: String
§performed_via_github_app: Option<Box<NullableIntegration>>
§label: Box<LabeledIssueEventLabel>
§milestone: Box<MilestonedIssueEventMilestone>
§rename: Box<RenamedIssueEventRename>
§review_requester: Box<SimpleUser>
§requested_team: Option<Box<Team>>
§requested_reviewer: Option<Box<SimpleUser>>
§dismissed_review: Box<ReviewDismissedIssueEventDismissedReview>
§lock_reason: Option<String>
§project_card: Option<Box<AddedToProjectIssueEventProjectCard>>
§body: Option<String>
The text of the review.
body_text: Option<String>
§body_html: Option<String>
§html_url: String
§user: Box<SimpleUser>
§updated_at: String
§issue_url: String
§reactions: Option<Box<ReactionRollup>>
§source: Box<TimelineCrossReferencedEventSource>
§sha: String
SHA for the commit
committer: Box<GitCommitAuthor>
§message: String
Message describing the purpose of the commit
tree: Box<GitCommitTree>
§parents: Vec<GitCommitParentsInner>
§verification: Box<GitCommitVerification>
§state: String
§pull_request_url: String
§_links: Box<TimelineReviewedEventLinks>
§submitted_at: Option<String>
§comments: Option<Vec<CommitComment>>
§assignee: Box<SimpleUser>
§state_reason: Option<Option<String>>
Implementations§
Source§impl TimelineIssueEvents
impl TimelineIssueEvents
Sourcepub fn new(
id: i32,
node_id: String,
url: String,
actor: SimpleUser,
event: String,
commit_id: Option<String>,
commit_url: Option<String>,
created_at: String,
performed_via_github_app: Option<NullableIntegration>,
label: LabeledIssueEventLabel,
milestone: MilestonedIssueEventMilestone,
rename: RenamedIssueEventRename,
review_requester: SimpleUser,
dismissed_review: ReviewDismissedIssueEventDismissedReview,
lock_reason: Option<String>,
body: Option<String>,
html_url: String,
user: SimpleUser,
updated_at: String,
issue_url: String,
author_association: AuthorAssociation,
source: TimelineCrossReferencedEventSource,
sha: String,
author: GitCommitAuthor,
committer: GitCommitAuthor,
message: String,
tree: GitCommitTree,
parents: Vec<GitCommitParentsInner>,
verification: GitCommitVerification,
state: String,
pull_request_url: String,
_links: TimelineReviewedEventLinks,
assignee: SimpleUser,
) -> TimelineIssueEvents
pub fn new( id: i32, node_id: String, url: String, actor: SimpleUser, event: String, commit_id: Option<String>, commit_url: Option<String>, created_at: String, performed_via_github_app: Option<NullableIntegration>, label: LabeledIssueEventLabel, milestone: MilestonedIssueEventMilestone, rename: RenamedIssueEventRename, review_requester: SimpleUser, dismissed_review: ReviewDismissedIssueEventDismissedReview, lock_reason: Option<String>, body: Option<String>, html_url: String, user: SimpleUser, updated_at: String, issue_url: String, author_association: AuthorAssociation, source: TimelineCrossReferencedEventSource, sha: String, author: GitCommitAuthor, committer: GitCommitAuthor, message: String, tree: GitCommitTree, parents: Vec<GitCommitParentsInner>, verification: GitCommitVerification, state: String, pull_request_url: String, _links: TimelineReviewedEventLinks, assignee: SimpleUser, ) -> TimelineIssueEvents
Timeline Event
Trait Implementations§
Source§impl Clone for TimelineIssueEvents
impl Clone for TimelineIssueEvents
Source§fn clone(&self) -> TimelineIssueEvents
fn clone(&self) -> TimelineIssueEvents
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 TimelineIssueEvents
impl Debug for TimelineIssueEvents
Source§impl Default for TimelineIssueEvents
impl Default for TimelineIssueEvents
Source§fn default() -> TimelineIssueEvents
fn default() -> TimelineIssueEvents
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimelineIssueEvents
impl<'de> Deserialize<'de> for TimelineIssueEvents
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
Source§impl PartialEq for TimelineIssueEvents
impl PartialEq for TimelineIssueEvents
Source§impl Serialize for TimelineIssueEvents
impl Serialize for TimelineIssueEvents
impl StructuralPartialEq for TimelineIssueEvents
Auto Trait Implementations§
impl Freeze for TimelineIssueEvents
impl RefUnwindSafe for TimelineIssueEvents
impl Send for TimelineIssueEvents
impl Sync for TimelineIssueEvents
impl Unpin for TimelineIssueEvents
impl UnwindSafe for TimelineIssueEvents
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