pub struct CounterfactualQuery {
pub intervene_on: String,
pub set_to: f64,
pub target: String,
}Expand description
A request: “intervene to set finding vf_id’s confidence to
value, then ask: what is the counterfactual confidence of
target?”
Fields§
§intervene_on: String§set_to: f64§target: StringTrait Implementations§
Source§impl Clone for CounterfactualQuery
impl Clone for CounterfactualQuery
Source§fn clone(&self) -> CounterfactualQuery
fn clone(&self) -> CounterfactualQuery
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 CounterfactualQuery
impl Debug for CounterfactualQuery
Source§impl<'de> Deserialize<'de> for CounterfactualQuery
impl<'de> Deserialize<'de> for CounterfactualQuery
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 CounterfactualQuery
impl RefUnwindSafe for CounterfactualQuery
impl Send for CounterfactualQuery
impl Sync for CounterfactualQuery
impl Unpin for CounterfactualQuery
impl UnsafeUnpin for CounterfactualQuery
impl UnwindSafe for CounterfactualQuery
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