pub struct PromotionSignals {
pub task_score: f32,
pub task_threshold: f32,
pub min_refs: u32,
}Expand description
Multi-signal thresholds for the postmortem nominator.
Fields§
§task_score: f32Task-completion score in [0,1].
task_threshold: f32At/above this, the task counts as successful: a single recall then
suffices to nominate, and a TaskScore reason is attached.
min_refs: u32Minimum recall count to nominate on reference-count alone.
Trait Implementations§
Source§impl Clone for PromotionSignals
impl Clone for PromotionSignals
Source§impl Debug for PromotionSignals
impl Debug for PromotionSignals
Auto Trait Implementations§
impl Freeze for PromotionSignals
impl RefUnwindSafe for PromotionSignals
impl Send for PromotionSignals
impl Sync for PromotionSignals
impl Unpin for PromotionSignals
impl UnsafeUnpin for PromotionSignals
impl UnwindSafe for PromotionSignals
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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