Struct changelog::ChangeLog
[−]
[src]
pub struct ChangeLog { pub scopes: Vec<Scope>, pub commits: Vec<Commit>, pub remote_url: Option<String>, pub range: String, pub date: String, }
A categorized changelog
Fields
scopes: Vec<Scope>
A list of scoped changes in the commit range.
commits: Vec<Commit>
A list of "interesting" commits in the range.
remote_url: Option<String>
The fetch url of the remote (useful for change number links)
range: String
The revision range for commits in this changelog
date: String
The time range for the commits in this changelog
Methods
impl ChangeLog
[src]
fn new() -> Self
[src]
Generate a new changelog for the default input range
fn from_range(range: &str, config: &Configuration) -> Self
[src]
Generate a changelog for the given range
fn from_log(args: Vec<String>, config: &Configuration) -> Self
[src]
Create a changelog from the given git log
arguments
fn from<T: Iterator<Item = Commit>>(commits: T, config: &Configuration) -> Self
[src]
Create a changelog from the given commits using the given conventions
Trait Implementations
impl Display for ChangeLog
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more