pub fn check_threshold_with_str<'a, F, H, T>(
f: F,
baseline: &'a str,
threshold: &H,
) -> Result<T, CheckThresholdError<H::Error>>where
F: Fn() -> T,
H: ThresholdFor<T>,
T: Serialize + Deserialize<'a>,
<H as ThresholdFor<T>>::Error: Debug + Display,