pub struct ReleaseSection {
pub version: String,
pub tag: Option<String>,
pub date: Option<String>,
pub commit: Option<String>,
pub unreleased: bool,
pub notes_url: Option<String>,
pub compare_url: Option<String>,
pub tree_url: Option<String>,
pub decisions: Vec<Decision>,
pub groups: Vec<ChangeGroup>,
pub artifacts: Vec<Artifact>,
}Expand description
One version’s worth of changelog.
Fields§
§version: StringThe version, or unreleased.
tag: Option<String>The tag, when one was published.
date: Option<String>When it was published, from the record.
commit: Option<String>The commit it was published from.
unreleased: boolWhether this section is the work that has not been released.
notes_url: Option<String>The release notes the record names — the published release itself.
compare_url: Option<String>Every commit between the previous release and this one, as the forge renders it.
tree_url: Option<String>The tree at this release.
decisions: Vec<Decision>The decisions dated inside this release’s window.
groups: Vec<ChangeGroup>The changes, from the commits in this release’s range, grouped by what they did and ordered by the rank each group carries. The flat list is the concatenation of the groups’ own; nothing holds it twice.
artifacts: Vec<Artifact>What was published, when this section is a release.
Trait Implementations§
Source§impl Clone for ReleaseSection
impl Clone for ReleaseSection
Source§fn clone(&self) -> ReleaseSection
fn clone(&self) -> ReleaseSection
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 ReleaseSection
impl Debug for ReleaseSection
Source§impl<'de> Deserialize<'de> for ReleaseSection
impl<'de> Deserialize<'de> for ReleaseSection
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
impl Eq for ReleaseSection
Source§impl JsonSchema for ReleaseSection
impl JsonSchema for ReleaseSection
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 moreSource§impl PartialEq for ReleaseSection
impl PartialEq for ReleaseSection
Source§fn eq(&self, other: &ReleaseSection) -> bool
fn eq(&self, other: &ReleaseSection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReleaseSection
impl Serialize for ReleaseSection
impl StructuralPartialEq for ReleaseSection
Auto Trait Implementations§
impl Freeze for ReleaseSection
impl RefUnwindSafe for ReleaseSection
impl Send for ReleaseSection
impl Sync for ReleaseSection
impl Unpin for ReleaseSection
impl UnsafeUnpin for ReleaseSection
impl UnwindSafe for ReleaseSection
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.