pub struct ChangelogModel {Show 13 fields
pub output: String,
pub format: ChangelogOutputFormat,
pub header: ChangelogHeaderModel,
pub group_by: Vec<String>,
pub section_order: Vec<String>,
pub scope_order: Vec<String>,
pub show_scope: bool,
pub show_empty_sections: Option<bool>,
pub show_empty_scopes: Option<bool>,
pub misc_section: Option<String>,
pub unreleased_label: String,
pub date_format: Option<String>,
pub sections: BTreeMap<String, ChangelogSectionModel>,
}Fields§
§output: String§format: ChangelogOutputFormat§header: ChangelogHeaderModel§group_by: Vec<String>§section_order: Vec<String>§scope_order: Vec<String>§show_scope: bool§show_empty_sections: Option<bool>§show_empty_scopes: Option<bool>§misc_section: Option<String>§unreleased_label: String§date_format: Option<String>§sections: BTreeMap<String, ChangelogSectionModel>Implementations§
Source§impl ChangelogModel
impl ChangelogModel
pub fn from_config(config: &ResolvedConfig) -> Self
Trait Implementations§
Source§impl Clone for ChangelogModel
impl Clone for ChangelogModel
Source§fn clone(&self) -> ChangelogModel
fn clone(&self) -> ChangelogModel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChangelogModel
impl Debug for ChangelogModel
Auto Trait Implementations§
impl Freeze for ChangelogModel
impl RefUnwindSafe for ChangelogModel
impl Send for ChangelogModel
impl Sync for ChangelogModel
impl Unpin for ChangelogModel
impl UnsafeUnpin for ChangelogModel
impl UnwindSafe for ChangelogModel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more