Struct changelog::Configuration
[−]
[src]
pub struct Configuration { pub conventions: Conventions, pub output: OutputPreferences, }
The tool configuration.
The configuration defines the repository conventions and output preferences.
Fields
conventions: Conventions
The project conventions
output: OutputPreferences
The output preferences
Methods
impl Configuration
[src]
fn new() -> Self
[src]
Default constructor
fn from_file(file: Option<&str>) -> Result<Self>
[src]
Construct from the given YAML file
fn from_yaml(yml: &str) -> Result<Self>
[src]
Construct from the given YAML string
Trait Implementations
impl Debug for Configuration
[src]
impl Default for Configuration
[src]
fn default() -> Configuration
[src]
Returns the "default value" for a type. Read more