pub struct CheckPlan {Show 19 fields
pub schema_version: String,
pub plan_id: CheckPlanId,
pub case_id: VerificationCaseId,
pub method: CheckMethod,
pub planner_family: String,
pub check_names: Vec<String>,
pub promotion_class: PromotionClass,
pub reversibility_class: ReversibilityClass,
pub cheapest_adequate: bool,
pub promotable_if_completed: bool,
pub advisory_only: bool,
pub degraded: bool,
pub target_exactness: ExactnessLevelV1,
pub evidence_admissibility: EvidenceAdmissibilityV1,
pub proof_obligations_remaining: Vec<String>,
pub cheap_check_ladder: Vec<CheapCheckStatusV1>,
pub proof_profile: Option<ProofProfileV1>,
pub rationale: String,
pub input: Value,
}Expand description
A check plan specifying the verification method, promotion class, and proof profile for a case.
Fields§
§schema_version: String§plan_id: CheckPlanId§case_id: VerificationCaseId§method: CheckMethod§planner_family: String§check_names: Vec<String>§promotion_class: PromotionClass§reversibility_class: ReversibilityClass§cheapest_adequate: bool§promotable_if_completed: bool§advisory_only: bool§degraded: bool§target_exactness: ExactnessLevelV1§evidence_admissibility: EvidenceAdmissibilityV1§proof_obligations_remaining: Vec<String>§cheap_check_ladder: Vec<CheapCheckStatusV1>§proof_profile: Option<ProofProfileV1>§rationale: String§input: ValueImplementations§
Source§impl CheckPlan
impl CheckPlan
Sourcepub fn new(
case_id: VerificationCaseId,
method: CheckMethod,
check_names: Vec<String>,
promotion_class: PromotionClass,
reversibility_class: ReversibilityClass,
promotable_if_completed: bool,
advisory_only: bool,
degraded: bool,
rationale: impl Into<String>,
input: Value,
) -> Self
pub fn new( case_id: VerificationCaseId, method: CheckMethod, check_names: Vec<String>, promotion_class: PromotionClass, reversibility_class: ReversibilityClass, promotable_if_completed: bool, advisory_only: bool, degraded: bool, rationale: impl Into<String>, input: Value, ) -> Self
Creates a check plan with the default planner family and baseline admissibility policy.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CheckPlan
impl<'de> Deserialize<'de> for CheckPlan
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 CheckPlan
Source§impl JsonSchema for CheckPlan
impl JsonSchema for CheckPlan
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for CheckPlan
Auto Trait Implementations§
impl Freeze for CheckPlan
impl RefUnwindSafe for CheckPlan
impl Send for CheckPlan
impl Sync for CheckPlan
impl Unpin for CheckPlan
impl UnsafeUnpin for CheckPlan
impl UnwindSafe for CheckPlan
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