pub struct ClassPrediction {
pub label: String,
pub score: f32,
}Fields§
§label: String§score: f32Trait Implementations§
source§impl Clone for ClassPrediction
impl Clone for ClassPrediction
source§fn clone(&self) -> ClassPrediction
fn clone(&self) -> ClassPrediction
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 moresource§impl Debug for ClassPrediction
impl Debug for ClassPrediction
source§impl<'a> From<&ClassPrediction> for ClassPredictionFFI<'a>
impl<'a> From<&ClassPrediction> for ClassPredictionFFI<'a>
source§fn from(class_prediction: &ClassPrediction) -> Self
fn from(class_prediction: &ClassPrediction) -> Self
Converts to this type from the input type.
source§impl<'a> From<&ClassPrediction> for ClassPredictionFFI<'a>
impl<'a> From<&ClassPrediction> for ClassPredictionFFI<'a>
source§fn from(class_prediction: &ClassPrediction) -> Self
fn from(class_prediction: &ClassPrediction) -> Self
Converts to this type from the input type.