pub struct RatioGroup {
pub executor: ActorKind,
pub capability: Option<String>,
pub samples: usize,
pub median: Option<f64>,
pub p25: Option<f64>,
pub p75: Option<f64>,
pub sufficient: bool,
pub excluded: Vec<ReasonCount>,
}Expand description
Distribution of actual/estimated ratios in one group.
Fields§
§executor: ActorKindExecutor kind of the samples.
capability: Option<String>Capability of the samples, for a per-capability group.
samples: usizeNumber of samples.
median: Option<f64>Median ratio, the factor a calibrated forecast applies; absent without samples.
p25: Option<f64>25th percentile ratio; absent without samples.
p75: Option<f64>75th percentile ratio; absent without samples.
sufficient: boolWhether the group has at least MIN_SAMPLES samples.
excluded: Vec<ReasonCount>Verified tasks of this executor kind (and capability) left out, per reason; what they would have said is missing from the distribution.
Trait Implementations§
Source§impl Clone for RatioGroup
impl Clone for RatioGroup
Source§impl Debug for RatioGroup
impl Debug for RatioGroup
Source§impl<'de> Deserialize<'de> for RatioGroup
impl<'de> Deserialize<'de> for RatioGroup
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 RatioGroup
impl PartialEq for RatioGroup
Source§impl Serialize for RatioGroup
impl Serialize for RatioGroup
impl StructuralPartialEq for RatioGroup
Auto Trait Implementations§
impl Freeze for RatioGroup
impl RefUnwindSafe for RatioGroup
impl Send for RatioGroup
impl Sync for RatioGroup
impl Unpin for RatioGroup
impl UnsafeUnpin for RatioGroup
impl UnwindSafe for RatioGroup
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