pub struct BumpInputs {
pub level: String,
pub from_version: String,
}Expand description
The engine-owned bump inputs a --bump run persists so release resume can
reconstruct the exact sealed plan after an interruption.
A --bump cut applies the version bump as its first phase, which advances the
working tree’s HEAD past the plan’s sealed (pre-bump) commit. Resume must
re-derive the plan against the sealed commit + the recorded bump level, not the
moved live HEAD, or its recomputed plan_id would never match. Persisted on the
RunCreated event (before the bump runs), so it is available whether the
interruption happened before or after the bump landed. None/absent for a
no-bump run (the default path).
Fields§
§level: StringThe semantic bump level (major / minor / patch) the plan was sealed with.
from_version: StringThe manifest version the bump was computed from (the pre-bump workspace
version) — the input bump_version(level, from_version) reproduces to_version
from.
Trait Implementations§
Source§impl Clone for BumpInputs
impl Clone for BumpInputs
Source§fn clone(&self) -> BumpInputs
fn clone(&self) -> BumpInputs
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 BumpInputs
impl Debug for BumpInputs
Source§impl<'de> Deserialize<'de> for BumpInputs
impl<'de> Deserialize<'de> for BumpInputs
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 BumpInputs
Source§impl PartialEq for BumpInputs
impl PartialEq for BumpInputs
Source§impl Serialize for BumpInputs
impl Serialize for BumpInputs
impl StructuralPartialEq for BumpInputs
Auto Trait Implementations§
impl Freeze for BumpInputs
impl RefUnwindSafe for BumpInputs
impl Send for BumpInputs
impl Sync for BumpInputs
impl Unpin for BumpInputs
impl UnsafeUnpin for BumpInputs
impl UnwindSafe for BumpInputs
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.