pub struct RuntimePolicyPosterior {
pub incompatibility_probability: f64,
pub confidence: f64,
pub observation_count: usize,
}Fields§
§incompatibility_probability: f64§confidence: f64§observation_count: usizeImplementations§
Source§impl RuntimePolicyPosterior
impl RuntimePolicyPosterior
pub fn observe( self, incompatibility_probability: f64, evidence_count: usize, ) -> RuntimePolicyPosterior
Trait Implementations§
Source§impl Clone for RuntimePolicyPosterior
impl Clone for RuntimePolicyPosterior
Source§fn clone(&self) -> RuntimePolicyPosterior
fn clone(&self) -> RuntimePolicyPosterior
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 moreimpl Copy for RuntimePolicyPosterior
Source§impl Debug for RuntimePolicyPosterior
impl Debug for RuntimePolicyPosterior
Source§impl Default for RuntimePolicyPosterior
impl Default for RuntimePolicyPosterior
Source§impl<'de> Deserialize<'de> for RuntimePolicyPosterior
impl<'de> Deserialize<'de> for RuntimePolicyPosterior
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
Source§impl PartialEq for RuntimePolicyPosterior
impl PartialEq for RuntimePolicyPosterior
Source§fn eq(&self, other: &RuntimePolicyPosterior) -> bool
fn eq(&self, other: &RuntimePolicyPosterior) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimePolicyPosterior
impl Serialize for RuntimePolicyPosterior
impl StructuralPartialEq for RuntimePolicyPosterior
Auto Trait Implementations§
impl Freeze for RuntimePolicyPosterior
impl RefUnwindSafe for RuntimePolicyPosterior
impl Send for RuntimePolicyPosterior
impl Sync for RuntimePolicyPosterior
impl Unpin for RuntimePolicyPosterior
impl UnsafeUnpin for RuntimePolicyPosterior
impl UnwindSafe for RuntimePolicyPosterior
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