Struct conventional_commit_parser::commit::ConventionalCommit [−][src]
pub struct ConventionalCommit {
pub commit_type: CommitType,
pub scope: Option<String>,
pub summary: String,
pub body: Option<String>,
pub footers: Vec<Footer>,
pub is_breaking_change: bool,
}
Expand description
A conventional commit compliant commit message produced by the parse function
Fields
commit_type: CommitType
The commit type, fix
, feat
etc.
scope: Option<String>
An optional scope
summary: String
Commit description summary
body: Option<String>
An optional commit body
A list of commit footers
is_breaking_change: bool
A commit that has a footer BREAKING CHANGE
or a !
after the commit type and scope
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.