pub struct PredictionResult {
pub vector: Vec<f32>,
pub timestamp: i64,
pub method: PredictionMethod,
}Expand description
Prediction result with confidence.
Fields§
§vector: Vec<f32>Predicted vector.
timestamp: i64Target timestamp.
method: PredictionMethodPrediction method used.
Trait Implementations§
Source§impl Clone for PredictionResult
impl Clone for PredictionResult
Source§fn clone(&self) -> PredictionResult
fn clone(&self) -> PredictionResult
Returns a copy 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 Freeze for PredictionResult
impl RefUnwindSafe for PredictionResult
impl Send for PredictionResult
impl Sync for PredictionResult
impl Unpin for PredictionResult
impl UnwindSafe for PredictionResult
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