pub struct Step {
pub id: String,
pub kind: StepKind,
pub breaking: bool,
pub destinations: Vec<String>,
pub actor: Actor,
pub text: String,
}Expand description
One thing a release asks.
Fields§
§id: StringA slug that stays put for the life of the release.
kind: StepKindWhat kind of change it is.
breaking: boolWhether a target that ignores it fails a gate or loses a route.
destinations: Vec<String>Which destinations it applies to.
actor: ActorWho takes it.
text: StringThe prose body, relative to the release’s own directory.
Implementations§
Source§impl Step
impl Step
Sourcepub fn decision_id(&self, release: &CanonVersion) -> String
pub fn decision_id(&self, release: &CanonVersion) -> String
The decision identifier this step carries.
Derived from the release and the step’s own slug, never from display text, so a reworded body moves no plan’s identity.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Step
impl<'de> Deserialize<'de> for Step
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 Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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
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
Compare self to
key and return true if they are equal.