[][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 other 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 ID 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 Clone for Commit[src]

impl Debug for Commit[src]

impl Default for Commit[src]

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

impl PartialEq<Commit> for Commit[src]

impl StructuralPartialEq for Commit[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.