[][src]Struct rusoto_codecommit::Commit

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.

author: Option<UserInfo>

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 PartialEq<Commit> for Commit[src]

impl Default for Commit[src]

impl Clone for Commit[src]

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

Performs copy-assignment from source. Read more

impl Debug for Commit[src]

impl<'de> Deserialize<'de> for Commit[src]

Auto Trait Implementations

impl Send for Commit

impl Sync for Commit

Blanket Implementations

impl<T> From for T[src]

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, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self