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
additional_data: Option<String>
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.
commit_id: Option<String>
The full SHA of the specified commit.
committer: Option<UserInfo>
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.
message: Option<String>
The commit message associated with the specified commit.
parents: Option<Vec<String>>
A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.
tree_id: Option<String>
Tree information for the specified commit.
Trait Implementations
impl Default for Commit
[src]
impl Default for Commit
impl Debug for Commit
[src]
impl Debug for Commit
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Commit
[src]
impl Clone for Commit
fn clone(&self) -> Commit
[src]
fn clone(&self) -> Commit
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Commit
[src]
impl PartialEq for Commit