Struct changelog::OutputPreferences
[−]
[src]
pub struct OutputPreferences { pub json: bool, pub template: Option<String>, pub remote: Option<String>, pub post_processors: Vec<PostProcessor>, }
The output preferences
Fields
json: bool
Output as JSON
template: Option<String>
Output Handlebar template
remote: Option<String>
The remote url
post_processors: Vec<PostProcessor>
Output line post-processors
Methods
impl OutputPreferences
[src]
fn new() -> Self
[src]
Default constructor
fn get_template(&self) -> Result<String>
[src]
Get the template definition
Trait Implementations
impl Debug for OutputPreferences
[src]
impl Default for OutputPreferences
[src]
fn default() -> OutputPreferences
[src]
Returns the "default value" for a type. Read more
impl Eq for OutputPreferences
[src]
impl PartialEq for OutputPreferences
[src]
fn eq(&self, __arg_0: &OutputPreferences) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OutputPreferences) -> bool
[src]
This method tests for !=
.