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>,
}
Expand description
Changelog configuration.
Fields§
§header: Option<String>
Changelog header.
body: Option<String>
Changelog body, template.
Changelog footer.
trim: Option<bool>
Trim the template.
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