pub struct RootChangelogConfig {
pub chronology: Option<Chronology>,
pub crates: Option<Vec<String>>,
}Expand description
Configuration for the single aggregate root CHANGELOG.md.
Fields§
§chronology: Option<Chronology>Ordering of release sections in the root changelog: date (default) or
tag.
crates: Option<Vec<String>>Crates that contribute a ### <crate> subsection to the root changelog.
When omitted, every crate contributes a subsection.
Implementations§
Source§impl RootChangelogConfig
impl RootChangelogConfig
Sourcepub fn resolved_chronology(&self) -> Chronology
pub fn resolved_chronology(&self) -> Chronology
Resolve the section ordering, falling back to Chronology::Date.
Trait Implementations§
Source§impl Clone for RootChangelogConfig
impl Clone for RootChangelogConfig
Source§fn clone(&self) -> RootChangelogConfig
fn clone(&self) -> RootChangelogConfig
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 RootChangelogConfig
impl Debug for RootChangelogConfig
Source§impl Default for RootChangelogConfig
impl Default for RootChangelogConfig
Source§fn default() -> RootChangelogConfig
fn default() -> RootChangelogConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RootChangelogConfigwhere
RootChangelogConfig: Default,
impl<'de> Deserialize<'de> for RootChangelogConfigwhere
RootChangelogConfig: 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 RootChangelogConfig
impl JsonSchema for RootChangelogConfig
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 RootChangelogConfig
impl RefUnwindSafe for RootChangelogConfig
impl Send for RootChangelogConfig
impl Sync for RootChangelogConfig
impl Unpin for RootChangelogConfig
impl UnsafeUnpin for RootChangelogConfig
impl UnwindSafe for RootChangelogConfig
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