#[non_exhaustive]pub struct RunReport {
pub steps: u64,
pub patches_accepted: u64,
pub early_avg_err: f64,
pub final_avg_err: f64,
pub final_damping: f64,
pub error_decreased: bool,
pub last_actions: Vec<String>,
}Available on crate feature
std only.Expand description
Summary of the steps, accepted patches, and prediction-error change from a run.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.steps: u64Number of steps completed by the run.
patches_accepted: u64Number of patches accepted during the run.
early_avg_err: f64Average prediction error during the early part of the run.
final_avg_err: f64Average prediction error at the end of the run.
final_damping: f64Prediction-error damping factor at the end of the run.
error_decreased: boolWhether average prediction error fell during the run.
last_actions: Vec<String>Actions selected during the latest steps of the run.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RunReport
impl Freeze for RunReport
impl Move for RunReport
impl RefUnwindSafe for RunReport
impl Send for RunReportwhere
RawVecInner: Send,
impl Sync for RunReportwhere
RawVecInner: Sync,
impl Unpin for RunReport
impl UnsafeUnpin for RunReport
impl UnwindSafe for RunReportwhere
RawVecInner: UnwindSafe,
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