pub struct ChangelogFilesConfig {
pub per_crate: Option<bool>,
pub root: Option<RootChangelogConfig>,
}Expand description
Changelog file-layout controls: which CHANGELOG.md files a release writes.
Nested under changelog.files to keep file-management keys distinct from
the content-generation keys on ChangelogConfig (use, format,
groups, filters, paths, sort, …).
Fields§
§per_crate: Option<bool>When true, write a per-crate crates/<name>/CHANGELOG.md for each
crate instead of (or in addition to) the single root CHANGELOG.md.
Default: false. With per_crate: true and no root: block, only the
per-crate files are produced; add a root: block to keep the aggregate
root changelog as well.
root: Option<RootChangelogConfig>Controls the single aggregate root CHANGELOG.md. Presence of this
block forces the root changelog on even when per_crate: true. When
omitted, the root changelog is on unless per_crate: true turned it off.
Trait Implementations§
Source§impl Clone for ChangelogFilesConfig
impl Clone for ChangelogFilesConfig
Source§fn clone(&self) -> ChangelogFilesConfig
fn clone(&self) -> ChangelogFilesConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChangelogFilesConfig
impl Debug for ChangelogFilesConfig
Source§impl Default for ChangelogFilesConfig
impl Default for ChangelogFilesConfig
Source§fn default() -> ChangelogFilesConfig
fn default() -> ChangelogFilesConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChangelogFilesConfigwhere
ChangelogFilesConfig: Default,
impl<'de> Deserialize<'de> for ChangelogFilesConfigwhere
ChangelogFilesConfig: Default,
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
Source§impl JsonSchema for ChangelogFilesConfig
impl JsonSchema for ChangelogFilesConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ChangelogFilesConfig
impl RefUnwindSafe for ChangelogFilesConfig
impl Send for ChangelogFilesConfig
impl Sync for ChangelogFilesConfig
impl Unpin for ChangelogFilesConfig
impl UnsafeUnpin for ChangelogFilesConfig
impl UnwindSafe for ChangelogFilesConfig
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