pub struct InvarianceReportV1 {Show 13 fields
pub report_id: ArtifactId,
pub kind: ArtifactKindV1,
pub mechanism_id: ArtifactId,
pub theory_id: Option<ArtifactId>,
pub fit_run_receipt_id: Option<ArtifactId>,
pub environments: Vec<String>,
pub perturbations: Vec<String>,
pub checks: Vec<InvarianceCheckV1>,
pub verdict: InvarianceVerdictV1,
pub observational_equivalence_only: bool,
pub causal_identification_claimed: bool,
pub reason_codes: Vec<String>,
pub recorded_at: DateTime<Utc>,
}Fields§
§report_id: ArtifactId§kind: ArtifactKindV1§mechanism_id: ArtifactId§theory_id: Option<ArtifactId>§fit_run_receipt_id: Option<ArtifactId>§environments: Vec<String>§perturbations: Vec<String>§checks: Vec<InvarianceCheckV1>§verdict: InvarianceVerdictV1§observational_equivalence_only: bool§causal_identification_claimed: bool§reason_codes: Vec<String>§recorded_at: DateTime<Utc>Implementations§
Source§impl InvarianceReportV1
impl InvarianceReportV1
pub fn new( mechanism_id: ArtifactId, theory_id: Option<ArtifactId>, fit_run_receipt_id: Option<ArtifactId>, checks: Vec<InvarianceCheckV1>, ) -> Self
pub fn with_causal_identification(self, reason: impl Into<String>) -> Self
pub fn supports_causal_identification(&self) -> bool
Trait Implementations§
Source§impl Clone for InvarianceReportV1
impl Clone for InvarianceReportV1
Source§fn clone(&self) -> InvarianceReportV1
fn clone(&self) -> InvarianceReportV1
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 InvarianceReportV1
impl Debug for InvarianceReportV1
Source§impl<'de> Deserialize<'de> for InvarianceReportV1
impl<'de> Deserialize<'de> for InvarianceReportV1
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 JsonSchema for InvarianceReportV1
impl JsonSchema for InvarianceReportV1
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 InvarianceReportV1
impl PartialEq for InvarianceReportV1
Source§fn eq(&self, other: &InvarianceReportV1) -> bool
fn eq(&self, other: &InvarianceReportV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InvarianceReportV1
impl Serialize for InvarianceReportV1
impl StructuralPartialEq for InvarianceReportV1
Auto Trait Implementations§
impl Freeze for InvarianceReportV1
impl RefUnwindSafe for InvarianceReportV1
impl Send for InvarianceReportV1
impl Sync for InvarianceReportV1
impl Unpin for InvarianceReportV1
impl UnsafeUnpin for InvarianceReportV1
impl UnwindSafe for InvarianceReportV1
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