[][src]Struct rusoto_codecommit::PostCommentForPullRequestInput

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: String

The 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: String

The 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 will return information about the initial request that used that token.

content: String

The 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 will be posted as a general comment on the pull request difference between the before commit ID and the after commit ID.

pull_request_id: String

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

repository_name: String

The name of the repository where you want to post a comment on a pull request.

Trait Implementations

impl PartialEq<PostCommentForPullRequestInput> for PostCommentForPullRequestInput[src]

impl Default for PostCommentForPullRequestInput[src]

impl Clone for PostCommentForPullRequestInput[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PostCommentForPullRequestInput[src]

impl Serialize for PostCommentForPullRequestInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self