pub struct CausalPrediction {
pub predicted_correctness: f64,
pub predicted_novelty: f64,
pub confidence: f64,
pub coverage_fraction: f64,
pub risk_flags: Vec<RiskFlag>,
pub zero_shot_eligible: bool,
}Fields§
§predicted_correctness: f64§predicted_novelty: f64§confidence: f64§coverage_fraction: f64§risk_flags: Vec<RiskFlag>§zero_shot_eligible: boolTrait Implementations§
Source§impl Clone for CausalPrediction
impl Clone for CausalPrediction
Source§fn clone(&self) -> CausalPrediction
fn clone(&self) -> CausalPrediction
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 CausalPrediction
impl Debug for CausalPrediction
Source§impl<'de> Deserialize<'de> for CausalPrediction
impl<'de> Deserialize<'de> for CausalPrediction
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CausalPrediction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CausalPrediction, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CausalPrediction
impl PartialEq for CausalPrediction
Source§fn eq(&self, other: &CausalPrediction) -> bool
fn eq(&self, other: &CausalPrediction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CausalPrediction
impl Serialize for CausalPrediction
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CausalPrediction
Auto Trait Implementations§
impl Freeze for CausalPrediction
impl RefUnwindSafe for CausalPrediction
impl Send for CausalPrediction
impl Sync for CausalPrediction
impl Unpin for CausalPrediction
impl UnsafeUnpin for CausalPrediction
impl UnwindSafe for CausalPrediction
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