pub struct PostCommentForPullRequestInput {
pub after_commit_id: String,
pub before_commit_id: String,
pub client_request_token: Option<String>,
pub content: String,
pub location: Option<Location>,
pub pull_request_id: String,
pub repository_name: String,
}Fields§
§after_commit_id: StringThe full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment.
before_commit_id: StringThe full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.
client_request_token: Option<String>A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
content: StringThe content of your comment on the change.
location: Option<Location>The location of the change where you want to post your comment. If no location is provided, the comment is posted as a general comment on the pull request difference between the before commit ID and the after commit ID.
pull_request_id: StringThe system-generated ID of the pull request. To get this ID, use ListPullRequests.
repository_name: StringThe name of the repository where you want to post a comment on a pull request.
Trait Implementations§
Source§impl Clone for PostCommentForPullRequestInput
impl Clone for PostCommentForPullRequestInput
Source§fn clone(&self) -> PostCommentForPullRequestInput
fn clone(&self) -> PostCommentForPullRequestInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for PostCommentForPullRequestInput
impl Default for PostCommentForPullRequestInput
Source§fn default() -> PostCommentForPullRequestInput
fn default() -> PostCommentForPullRequestInput
Source§impl PartialEq for PostCommentForPullRequestInput
impl PartialEq for PostCommentForPullRequestInput
Source§fn eq(&self, other: &PostCommentForPullRequestInput) -> bool
fn eq(&self, other: &PostCommentForPullRequestInput) -> bool
self and other values to be equal, and is used by ==.