pub struct ExperimentCaseV1 {
pub schema_version: String,
pub experiment_case_id: ExperimentCaseId,
pub intervention_id: InterventionId,
pub outcome_schema_id: OutcomeSchemaId,
pub cohort_contract_id: CohortContractId,
pub comparability_matrix_id: ComparabilityMatrixId,
pub refuter_suite_id: RefuterSuiteId,
pub experiment_budget_id: ExperimentBudgetId,
pub risk_class: ExperimentRiskClassV1,
pub lifecycle_state: ExperimentLifecycleStateV1,
pub final_disposition: ExperimentFinalDispositionV1,
}Expand description
A causal experiment case linking an intervention, outcome schema, cohort, comparability matrix, refuter suite, and budget into a single verifiable unit.
Fields§
§schema_version: String§experiment_case_id: ExperimentCaseId§intervention_id: InterventionId§outcome_schema_id: OutcomeSchemaId§cohort_contract_id: CohortContractId§comparability_matrix_id: ComparabilityMatrixId§refuter_suite_id: RefuterSuiteId§experiment_budget_id: ExperimentBudgetId§risk_class: ExperimentRiskClassV1§lifecycle_state: ExperimentLifecycleStateV1§final_disposition: ExperimentFinalDispositionV1Implementations§
Trait Implementations§
Source§impl Clone for ExperimentCaseV1
impl Clone for ExperimentCaseV1
Source§fn clone(&self) -> ExperimentCaseV1
fn clone(&self) -> ExperimentCaseV1
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 ExperimentCaseV1
impl Debug for ExperimentCaseV1
Source§impl<'de> Deserialize<'de> for ExperimentCaseV1
impl<'de> Deserialize<'de> for ExperimentCaseV1
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 ExperimentCaseV1
Source§impl JsonSchema for ExperimentCaseV1
impl JsonSchema for ExperimentCaseV1
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 moreSource§impl PartialEq for ExperimentCaseV1
impl PartialEq for ExperimentCaseV1
Source§fn eq(&self, other: &ExperimentCaseV1) -> bool
fn eq(&self, other: &ExperimentCaseV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExperimentCaseV1
impl Serialize for ExperimentCaseV1
impl StructuralPartialEq for ExperimentCaseV1
Auto Trait Implementations§
impl Freeze for ExperimentCaseV1
impl RefUnwindSafe for ExperimentCaseV1
impl Send for ExperimentCaseV1
impl Sync for ExperimentCaseV1
impl Unpin for ExperimentCaseV1
impl UnsafeUnpin for ExperimentCaseV1
impl UnwindSafe for ExperimentCaseV1
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