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

The 40 char hash

subject

The commit subject

component

The component (if any)

closes

Any issues this commit closes

breaks

Any issues this commit breaks

commit_type

The commit type (or alias)

Trait Implementations

impl Debug for Commit

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

Derived Implementations

impl Clone for Commit

fn clone(&self) -> Commit

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