Struct rusoto_codecommit::Commit[][src]

pub struct Commit {
    pub additional_data: Option<String>,
    pub author: Option<UserInfo>,
    pub commit_id: Option<String>,
    pub committer: Option<UserInfo>,
    pub message: Option<String>,
    pub parents: Option<Vec<String>>,
    pub tree_id: Option<String>,
}

Returns information about a specific commit.

Fields

Any additional data associated with the specified commit.

Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

The full SHA of the specified commit.

Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.

For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

The commit message associated with the specified commit.

A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

Tree information for the specified commit.

Trait Implementations

impl Default for Commit
[src]

Returns the "default value" for a type. Read more

impl Debug for Commit
[src]

Formats the value using the given formatter. Read more

impl Clone for Commit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Commit
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for Commit

impl Sync for Commit