pub struct ExperimentNode {
pub id: NodeId,
pub hypothesis_id: NodeId,
pub config_hash: u64,
pub verdict: ExperimentVerdict,
pub weight: f64,
pub timestamp_ms: u64,
}Expand description
An experiment node in the belief graph.
Fields§
§id: NodeId§hypothesis_id: NodeIdThe hypothesis this experiment tests.
config_hash: u64The configuration tested.
verdict: ExperimentVerdictThe verdict.
weight: f64Weight of this experiment’s evidence [0, 1].
timestamp_ms: u64Timestamp (unix ms).
Trait Implementations§
Source§impl Clone for ExperimentNode
impl Clone for ExperimentNode
Source§fn clone(&self) -> ExperimentNode
fn clone(&self) -> ExperimentNode
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 ExperimentNode
impl Debug for ExperimentNode
Source§impl<'de> Deserialize<'de> for ExperimentNode
impl<'de> Deserialize<'de> for ExperimentNode
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 ExperimentNode
impl RefUnwindSafe for ExperimentNode
impl Send for ExperimentNode
impl Sync for ExperimentNode
impl Unpin for ExperimentNode
impl UnsafeUnpin for ExperimentNode
impl UnwindSafe for ExperimentNode
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more