pub struct SelectResult<O> {
pub output: O,
pub winner: String,
pub time_ns: u64,
pub timings: Vec<AlgoTiming>,
pub pattern: Option<DataPattern>,
}Expand description
Selection result
Fields§
§output: OThe output from the winning algorithm
winner: StringName of the winning algorithm
time_ns: u64Time taken by winner in nanoseconds
timings: Vec<AlgoTiming>All algorithm timings for comparison
pattern: Option<DataPattern>Detected data pattern (if smart detection enabled)
Trait Implementations§
Source§impl<O: Clone> Clone for SelectResult<O>
impl<O: Clone> Clone for SelectResult<O>
Source§fn clone(&self) -> SelectResult<O>
fn clone(&self) -> SelectResult<O>
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 moreAuto Trait Implementations§
impl<O> Freeze for SelectResult<O>where
O: Freeze,
impl<O> RefUnwindSafe for SelectResult<O>where
O: RefUnwindSafe,
impl<O> Send for SelectResult<O>where
O: Send,
impl<O> Sync for SelectResult<O>where
O: Sync,
impl<O> Unpin for SelectResult<O>where
O: Unpin,
impl<O> UnwindSafe for SelectResult<O>where
O: 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