pub struct Assertion {
pub text: String,
pub assertion_type: String,
pub entities: Vec<Entity>,
pub relation: Option<String>,
pub direction: Option<String>,
pub causal_claim: Option<CausalClaim>,
pub causal_evidence_grade: Option<CausalEvidenceGrade>,
}Fields§
§text: String§assertion_type: String§entities: Vec<Entity>§relation: Option<String>§direction: Option<String>§causal_claim: Option<CausalClaim>v0.38: the kind of causal claim this assertion makes. None
means the kernel hasn’t been told yet — the legacy default for
pre-v0.38 findings. Some(Correlation) is the safe minimum
claim; Some(Intervention) is the strongest.
causal_evidence_grade: Option<CausalEvidenceGrade>v0.38: study-design grade backing the causal claim. Drives the reasoning layer’s identifiability checks (deferred). Pre-v0.38 findings omit the field; loading is backward-compatible.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Assertion
impl<'de> Deserialize<'de> for Assertion
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
Auto Trait Implementations§
impl Freeze for Assertion
impl RefUnwindSafe for Assertion
impl Send for Assertion
impl Sync for Assertion
impl Unpin for Assertion
impl UnsafeUnpin for Assertion
impl UnwindSafe for Assertion
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