pub struct BumpRecord {
pub commit: String,
pub effective_date: String,
}Expand description
The record of an applied engine bump — the durable fact that makes resume idempotent (never double-bumps).
Written by the Phase::Bump barrier once the version/pin/lockfile/CHANGELOG
edits are committed and any bump_hook has run. Its presence flips the run’s bump
state from not-started to applied: a resumed cut that sees it skips the bump
entirely and continues from the recorded Self::commit (which the tag phase then
points at). The Self::effective_date is journalled once here and reused on
resume so a run spanning midnight cannot re-date the CHANGELOG.
Fields§
§commit: StringThe commit sha the bump edits landed in — the commit the release tag points at (not the pre-bump sealed HEAD).
effective_date: StringThe YYYY-MM-DD date the CHANGELOG’s [Unreleased] section was finalized
under — journalled once so resume reuses it verbatim.
Trait Implementations§
Source§impl Clone for BumpRecord
impl Clone for BumpRecord
Source§fn clone(&self) -> BumpRecord
fn clone(&self) -> BumpRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BumpRecord
impl Debug for BumpRecord
Source§impl<'de> Deserialize<'de> for BumpRecord
impl<'de> Deserialize<'de> for BumpRecord
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>,
impl Eq for BumpRecord
Source§impl PartialEq for BumpRecord
impl PartialEq for BumpRecord
Source§impl Serialize for BumpRecord
impl Serialize for BumpRecord
impl StructuralPartialEq for BumpRecord
Auto Trait Implementations§
impl Freeze for BumpRecord
impl RefUnwindSafe for BumpRecord
impl Send for BumpRecord
impl Sync for BumpRecord
impl Unpin for BumpRecord
impl UnsafeUnpin for BumpRecord
impl UnwindSafe for BumpRecord
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
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.