pub struct PostCommentForComparedCommitInput {
pub after_commit_id: String,
pub before_commit_id: Option<String>,
pub client_request_token: Option<String>,
pub content: String,
pub location: Option<Location>,
pub repository_name: String,
}Fields§
§after_commit_id: StringTo establish the directionality of the comparison, the full commit ID of the after commit.
before_commit_id: Option<String>To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.
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 the comment you want to make.
location: Option<Location>The location of the comparison where you want to comment.
repository_name: StringThe name of the repository where you want to post a comment on the comparison between commits.
Trait Implementations§
Source§impl Clone for PostCommentForComparedCommitInput
impl Clone for PostCommentForComparedCommitInput
Source§fn clone(&self) -> PostCommentForComparedCommitInput
fn clone(&self) -> PostCommentForComparedCommitInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for PostCommentForComparedCommitInput
impl Default for PostCommentForComparedCommitInput
Source§fn default() -> PostCommentForComparedCommitInput
fn default() -> PostCommentForComparedCommitInput
Source§impl PartialEq for PostCommentForComparedCommitInput
impl PartialEq for PostCommentForComparedCommitInput
Source§fn eq(&self, other: &PostCommentForComparedCommitInput) -> bool
fn eq(&self, other: &PostCommentForComparedCommitInput) -> bool
self and other values to be equal, and is used by ==.