pub struct AggregateFilter {
pub causal_claim: Option<CausalClaim>,
pub causal_grade_min: Option<CausalEvidenceGrade>,
}Expand description
v0.38.2: filter constraints for consensus aggregation. Consensus computed without a filter blends all claim-similar findings — fine when “what does the field hold?” is the question, but wrong when the question is specifically “what does the field hold as causation?” or “what’s the consensus among RCT-grade evidence?”
None for any field means no constraint; the default value of
Filter::default() is the pre-v0.38.2 behavior.
Fields§
§causal_claim: Option<CausalClaim>Only include findings whose causal_claim matches. None
includes all (including unset claims).
causal_grade_min: Option<CausalEvidenceGrade>Minimum study-design grade. Findings with causal_evidence_grade
strictly weaker than this are excluded. None includes all
(including unset grades). Ordering: Theoretical < Observational
< QuasiExperimental < Rct.
Trait Implementations§
Source§impl Clone for AggregateFilter
impl Clone for AggregateFilter
Source§fn clone(&self) -> AggregateFilter
fn clone(&self) -> AggregateFilter
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 AggregateFilter
impl Debug for AggregateFilter
Source§impl Default for AggregateFilter
impl Default for AggregateFilter
Source§fn default() -> AggregateFilter
fn default() -> AggregateFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AggregateFilter
impl<'de> Deserialize<'de> for AggregateFilter
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 AggregateFilter
impl RefUnwindSafe for AggregateFilter
impl Send for AggregateFilter
impl Sync for AggregateFilter
impl Unpin for AggregateFilter
impl UnsafeUnpin for AggregateFilter
impl UnwindSafe for AggregateFilter
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