pub enum MissionShape {
CodeChange,
DocHeavy,
Unknown,
}Expand description
The plan-observable shape of a mission, used to flag validation contracts
estimate’s calibration corpus doesn’t cover (later features will widen
ranges / lower confidence for these; this type is inert on its own).
Variants§
CodeChange
Contract gates on a build/test/lint command — the calibration corpus’s typical shape.
DocHeavy
Contract leans on agent judgement with no build/test gate — expensive to validate and not represented in the calibration corpus.
Unknown
Neither signal present (empty or grep-only contract): treated as neutral, never widened.
Trait Implementations§
Source§impl Clone for MissionShape
impl Clone for MissionShape
Source§fn clone(&self) -> MissionShape
fn clone(&self) -> MissionShape
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 moreimpl Copy for MissionShape
Source§impl Debug for MissionShape
impl Debug for MissionShape
Source§impl<'de> Deserialize<'de> for MissionShape
impl<'de> Deserialize<'de> for MissionShape
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 MissionShape
Source§impl PartialEq for MissionShape
impl PartialEq for MissionShape
Source§impl Serialize for MissionShape
impl Serialize for MissionShape
impl StructuralPartialEq for MissionShape
Auto Trait Implementations§
impl Freeze for MissionShape
impl RefUnwindSafe for MissionShape
impl Send for MissionShape
impl Sync for MissionShape
impl Unpin for MissionShape
impl UnsafeUnpin for MissionShape
impl UnwindSafe for MissionShape
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