pub struct CommentsForPullRequest {
pub after_blob_id: Option<String>,
pub after_commit_id: Option<String>,
pub before_blob_id: Option<String>,
pub before_commit_id: Option<String>,
pub comments: Option<Vec<Comment>>,
pub location: Option<Location>,
pub pull_request_id: Option<String>,
pub repository_name: Option<String>,
}Expand description
Returns information about comments on a pull request.
Fields§
§after_blob_id: Option<String>The full blob ID of the file on which you want to comment on the source commit.
after_commit_id: Option<String>The full commit ID of the commit that was the tip of the source branch at the time the comment was made.
before_blob_id: Option<String>The full blob ID of the file on which you want to comment on the destination commit.
before_commit_id: Option<String>The full commit ID of the commit that was the tip of the destination branch when the pull request was created. This commit is superceded by the after commit in the source branch when and if you merge the source branch into the destination branch.
comments: Option<Vec<Comment>>An array of comment objects. Each comment object contains information about a comment on the pull request.
location: Option<Location>Location information about the comment on the pull request, including the file name, line number, and whether the version of the file where the comment was made is BEFORE (destination branch) or AFTER (source branch).
pull_request_id: Option<String>The system-generated ID of the pull request.
repository_name: Option<String>The name of the repository that contains the pull request.
Trait Implementations§
Source§impl Clone for CommentsForPullRequest
impl Clone for CommentsForPullRequest
Source§fn clone(&self) -> CommentsForPullRequest
fn clone(&self) -> CommentsForPullRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more