pub enum ModelThreshold {
ObjectDetection {
id: u32,
min_score: f32,
},
AnomalyGMM {
id: u32,
min_anomaly_score: f32,
},
ObjectTracking {
id: u32,
keep_grace: u32,
max_observations: u32,
threshold: f32,
},
}
Variants§
Trait Implementations§
Source§impl Clone for ModelThreshold
impl Clone for ModelThreshold
Source§fn clone(&self) -> ModelThreshold
fn clone(&self) -> ModelThreshold
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 ModelThreshold
impl Debug for ModelThreshold
Source§impl Default for ModelThreshold
impl Default for ModelThreshold
Source§impl<'de> Deserialize<'de> for ModelThreshold
impl<'de> Deserialize<'de> for ModelThreshold
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ModelThreshold
impl RefUnwindSafe for ModelThreshold
impl Send for ModelThreshold
impl Sync for ModelThreshold
impl Unpin for ModelThreshold
impl UnwindSafe for ModelThreshold
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