pub struct MilestonePhase {
pub phase_id: String,
pub unlocks: Vec<String>,
}Expand description
One phase of a VerificationContract.
Fields§
§phase_id: StringStable id, unique within its contract. It is what EvaluateMilestone names and what the
host keys its verifier lookup on.
unlocks: Vec<String>Capability ids mounted when this phase passes. Each must name an entry in the operation’s
capability directory — the declared tool_catalog and skill_catalog — so a phase cannot
unlock a surface the operation never declared. Fail-closed at resolve time, for the same
reason feature_policy.stable_core_tool_ids is: discovering it as a mid-run capability
mutation with nothing behind it is strictly worse than discovering it at
ConfigureOperation.
Trait Implementations§
Source§impl Clone for MilestonePhase
impl Clone for MilestonePhase
Source§fn clone(&self) -> MilestonePhase
fn clone(&self) -> MilestonePhase
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 moreSource§impl Debug for MilestonePhase
impl Debug for MilestonePhase
Source§impl<'de> Deserialize<'de> for MilestonePhase
impl<'de> Deserialize<'de> for MilestonePhase
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
Source§impl PartialEq for MilestonePhase
impl PartialEq for MilestonePhase
Source§impl Serialize for MilestonePhase
impl Serialize for MilestonePhase
impl StructuralPartialEq for MilestonePhase
Auto Trait Implementations§
impl Freeze for MilestonePhase
impl RefUnwindSafe for MilestonePhase
impl Send for MilestonePhase
impl Sync for MilestonePhase
impl Unpin for MilestonePhase
impl UnsafeUnpin for MilestonePhase
impl UnwindSafe for MilestonePhase
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