pub struct Decision {
pub index: usize,
pub reference_index: usize,
pub name: String,
pub source: DecisionSource,
pub verified: bool,
pub ratio: Option<f64>,
pub cache_key: String,
}Expand description
Implementation selection, not a computed output or an instruction to replay a request.
Fields§
§index: usizeIndex in the candidate slice passed to select for this call.
reference_index: usizeCaller-declared reference index in that same slice.
name: StringStable selected candidate name, independent of slice indexing in another build.
source: DecisionSourceSearch/cache/reference provenance.
verified: boolTrue only after a validator reported Passed, never inferred from successful launch.
ratio: Option<f64>Paired selected/reference timing ratio when available; None on unmeasured bypass.
cache_key: StringFull canonical key used by invalidation and regression observations.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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