pub struct Release {
pub id: String,
pub version: Version,
pub maybe_date: Option<NaiveDate>,
pub changes: ChangeSet,
}
Expand description
The changes associated with a specific release.
Fields§
§id: String
This release’s ID (could be the version plus a prefix, e.g. v0.1.0
).
version: Version
This release’s version (using semantic versioning).
maybe_date: Option<NaiveDate>
This possibly a release date, parsed according to the configuration file rules.
changes: ChangeSet
The changes associated with this release.
Implementations§
Trait Implementations§
source§impl PartialEq for Release
impl PartialEq for Release
impl Eq for Release
impl StructuralPartialEq for Release
Auto Trait Implementations§
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnwindSafe for Release
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<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
Checks if this value is equivalent to the given key. Read more
§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.