pub struct AlgorithmPerformance {
pub algorithm_name: String,
pub avg_duration: Duration,
pub sample_count: usize,
pub data_size_range: (usize, usize),
pub success_rate: f64,
pub last_updated: SystemTime,
}Expand description
Algorithm performance record
Fields§
§algorithm_name: String§avg_duration: Duration§sample_count: usize§data_size_range: (usize, usize)§success_rate: f64§last_updated: SystemTimeTrait Implementations§
Source§impl Clone for AlgorithmPerformance
impl Clone for AlgorithmPerformance
Source§fn clone(&self) -> AlgorithmPerformance
fn clone(&self) -> AlgorithmPerformance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AlgorithmPerformance
impl RefUnwindSafe for AlgorithmPerformance
impl Send for AlgorithmPerformance
impl Sync for AlgorithmPerformance
impl Unpin for AlgorithmPerformance
impl UnsafeUnpin for AlgorithmPerformance
impl UnwindSafe for AlgorithmPerformance
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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