Struct rustpotter::DetectedWakeword
source · [−]pub struct DetectedWakeword {
pub wakeword: String,
pub score: f32,
pub index: usize,
pub features: Option<Vec<Vec<f32>>>,
}Expand description
Represents a successful wakeword detection.
Fields
wakeword: StringDetected wakeword name.
score: f32Detection score.
index: usizeDetected wakeword template index.
features: Option<Vec<Vec<f32>>>Detected features, only available on training mode
Trait Implementations
sourceimpl Clone for DetectedWakeword
impl Clone for DetectedWakeword
Auto Trait Implementations
impl RefUnwindSafe for DetectedWakeword
impl Send for DetectedWakeword
impl Sync for DetectedWakeword
impl Unpin for DetectedWakeword
impl UnwindSafe for DetectedWakeword
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more