Struct git_cliff_core::config::ChangelogConfig
source · pub struct ChangelogConfig {
pub header: Option<String>,
pub body: Option<String>,
pub footer: Option<String>,
pub trim: Option<bool>,
pub postprocessors: Option<Vec<TextProcessor>>,
}
Expand description
Changelog configuration.
Fields§
§header: Option<String>
Changelog header.
body: Option<String>
Changelog body, template.
Changelog footer.
trim: Option<bool>
Trim the template.
postprocessors: Option<Vec<TextProcessor>>
Changelog postprocessors.
Trait Implementations§
source§impl Clone for ChangelogConfig
impl Clone for ChangelogConfig
source§fn clone(&self) -> ChangelogConfig
fn clone(&self) -> ChangelogConfig
Returns a copy 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 ChangelogConfig
impl Debug for ChangelogConfig
source§impl Default for ChangelogConfig
impl Default for ChangelogConfig
source§fn default() -> ChangelogConfig
fn default() -> ChangelogConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChangelogConfig
impl<'de> Deserialize<'de> for ChangelogConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ChangelogConfig
impl RefUnwindSafe for ChangelogConfig
impl Send for ChangelogConfig
impl Sync for ChangelogConfig
impl Unpin for ChangelogConfig
impl UnwindSafe for ChangelogConfig
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