Struct changelog::Commit [] [src]

pub struct Commit {
    pub sha: String,
    pub author: String,
    pub time: String,
    pub summary: String,
    pub number: Option<u32>,
    pub message: String,
}

A single commit

Fields

The SHA

The author

The timestamp

The summary

The change number

The message

Methods

impl Commit
[src]

[src]

Trait Implementations

impl Debug for Commit
[src]

[src]

Formats the value using the given formatter.

impl Default for Commit
[src]

[src]

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

impl Eq for Commit
[src]

impl PartialEq for Commit
[src]

[src]

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

[src]

This method tests for !=.

impl<T: AsRef<str>> From<T> for Commit
[src]

[src]

Construct a commit from the revision

impl<'a> IntoIterator for &'a Commit
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl Display for Commit
[src]

[src]

Formats the value using the given formatter. Read more