pub struct ContributingFinding {
pub strategy_id: String,
pub strategy_name: String,
pub outcome_kind: StrategyOutcomeKind,
pub log_odds_contribution: f64,
pub block_family: Option<BlockFamily>,
pub block_reason: Option<String>,
}Expand description
One strategy’s contribution to the endpoint posterior.
Fields§
§strategy_id: Stringe.g. "existence-get-200-404"
strategy_name: StringHuman-readable strategy name for display.
outcome_kind: StrategyOutcomeKindHow this outcome was classified for aggregation.
log_odds_contribution: f64log-odds delta applied to the running total
block_family: Option<BlockFamily>Block family for Inapplicable outcomes; None for all other kinds.
block_reason: Option<String>PreconditionBlock::as_str() for Inapplicable outcomes; None otherwise.
Trait Implementations§
Source§impl Clone for ContributingFinding
impl Clone for ContributingFinding
Source§fn clone(&self) -> ContributingFinding
fn clone(&self) -> ContributingFinding
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 ContributingFinding
impl Debug for ContributingFinding
Source§impl<'de> Deserialize<'de> for ContributingFinding
impl<'de> Deserialize<'de> for ContributingFinding
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 ContributingFinding
impl RefUnwindSafe for ContributingFinding
impl Send for ContributingFinding
impl Sync for ContributingFinding
impl Unpin for ContributingFinding
impl UnsafeUnpin for ContributingFinding
impl UnwindSafe for ContributingFinding
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