Struct clog::git::Commit [] [src]

pub struct Commit {
    pub hash: String,
    pub subject: String,
    pub component: String,
    pub closes: Vec<String>,
    pub breaks: Vec<String>,
    pub commit_type: String,
}

The struct representation of a Commit

Fields

hash: String

The 40 char hash

subject: String

The commit subject

component: String

The component (if any)

closes: Vec<String>

Any issues this commit closes

breaks: Vec<String>

Any issues this commit breaks

commit_type: String

The commit type (or alias)

Trait Implementations

impl Clone for Commit
[src]

fn clone(&self) -> Commit

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for Commit
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.