pub struct PredictionRecord {
pub rank: Option<usize>,
pub latency_us: u64,
pub noop: bool,
pub rationale_present: bool,
}Fields§
§rank: Option<usize>§latency_us: u64§noop: bool§rationale_present: boolTrue when the underlying predictor produced at least one intent with
non-empty rationale_tags. False for statistical baselines.
Trait Implementations§
Source§impl Clone for PredictionRecord
impl Clone for PredictionRecord
Source§fn clone(&self) -> PredictionRecord
fn clone(&self) -> PredictionRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PredictionRecord
impl Debug for PredictionRecord
Source§impl Default for PredictionRecord
impl Default for PredictionRecord
Source§fn default() -> PredictionRecord
fn default() -> PredictionRecord
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PredictionRecord
impl RefUnwindSafe for PredictionRecord
impl Send for PredictionRecord
impl Sync for PredictionRecord
impl Unpin for PredictionRecord
impl UnsafeUnpin for PredictionRecord
impl UnwindSafe for PredictionRecord
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