pub struct PullRequestReviewComment {Show 27 fields
pub _links: Option<WebhooksReviewCommentLinks>,
pub author_association: Option<String>,
pub body: Option<String>,
pub commit_id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub diff_hunk: Option<String>,
pub html_url: Option<String>,
pub id: Option<i64>,
pub in_reply_to_id: Option<i64>,
pub line: Option<i64>,
pub node_id: Option<String>,
pub original_commit_id: Option<String>,
pub original_line: Option<i64>,
pub original_position: Option<i64>,
pub original_start_line: Option<i64>,
pub path: Option<String>,
pub position: Option<i64>,
pub pull_request_review_id: Option<i64>,
pub pull_request_url: Option<String>,
pub reactions: Option<Reactions>,
pub side: Option<String>,
pub start_line: Option<i64>,
pub start_side: Option<String>,
pub subject_type: Option<String>,
pub updated_at: Option<DateTime<Utc>>,
pub url: Option<String>,
pub user: Option<User>,
}Expand description
The comment itself.
Fields§
§_links: Option<WebhooksReviewCommentLinks>How the author is associated with the repository.
body: Option<String>The text of the comment.
commit_id: Option<String>The SHA of the commit to which the comment applies.
created_at: Option<DateTime<Utc>>§diff_hunk: Option<String>The diff of the line that the comment refers to.
html_url: Option<String>HTML URL for the pull request review comment.
id: Option<i64>The ID of the pull request review comment.
in_reply_to_id: Option<i64>The comment ID to reply to.
line: Option<i64>The line of the blob to which the comment applies. The last line of the range for a multi-line comment
node_id: Option<String>The node ID of the pull request review comment.
original_commit_id: Option<String>The SHA of the original commit to which the comment applies.
original_line: Option<i64>The line of the blob to which the comment applies. The last line of the range for a multi-line comment
original_position: Option<i64>The index of the original line in the diff to which the comment applies.
original_start_line: Option<i64>The first line of the range for a multi-line comment.
path: Option<String>The relative path of the file to which the comment applies.
position: Option<i64>The line index in the diff to which the comment applies.
pull_request_review_id: Option<i64>The ID of the pull request review to which the comment belongs.
pull_request_url: Option<String>URL for the pull request that the review comment belongs to.
reactions: Option<Reactions>§side: Option<String>The side of the first line of the range for a multi-line comment.
start_line: Option<i64>The first line of the range for a multi-line comment.
start_side: Option<String>The side of the first line of the range for a multi-line comment.
subject_type: Option<String>The level at which the comment is targeted, can be a diff line or a file.
updated_at: Option<DateTime<Utc>>§url: Option<String>URL for the pull request review comment
user: Option<User>Trait Implementations§
Source§impl Clone for PullRequestReviewComment
impl Clone for PullRequestReviewComment
Source§fn clone(&self) -> PullRequestReviewComment
fn clone(&self) -> PullRequestReviewComment
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more