pub struct StageAnswer {
pub choice: String,
pub confidence: f64,
pub probabilities: BTreeMap<String, f64>,
pub effort_by_model: BTreeMap<String, Vec<ModelEffort>>,
}Expand description
Jev’s answer for one stage.
Fields§
§choice: StringThe chosen tier, or NO_DESIGN for the design stage.
confidence: f64Jev’s confidence in choice.
probabilities: BTreeMap<String, f64>The probability of every option offered.
effort_by_model: BTreeMap<String, Vec<ModelEffort>>Effort advice for every rung and its concrete models, independent of the selected rung.
Trait Implementations§
Source§impl Clone for StageAnswer
impl Clone for StageAnswer
Source§impl Debug for StageAnswer
impl Debug for StageAnswer
Source§impl PartialEq for StageAnswer
impl PartialEq for StageAnswer
Source§impl Serialize for StageAnswer
impl Serialize for StageAnswer
impl StructuralPartialEq for StageAnswer
Auto Trait Implementations§
impl Freeze for StageAnswer
impl RefUnwindSafe for StageAnswer
impl Send for StageAnswer
impl Sync for StageAnswer
impl Unpin for StageAnswer
impl UnsafeUnpin for StageAnswer
impl UnwindSafe for StageAnswer
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