pub enum ConfidenceAction {
DecayCapsule {
capsule_id: String,
gene_id: GeneId,
old_confidence: f32,
new_confidence: f32,
},
DemoteToQuarantined {
asset_id: String,
confidence: f32,
},
BoostConfidence {
asset_id: String,
old_confidence: f32,
new_confidence: f32,
},
}Expand description
Confidence update action
Variants§
DecayCapsule
Apply decay to a capsule
DemoteToQuarantined
Demote asset to quarantined due to low confidence
BoostConfidence
Boost confidence on successful reuse
Trait Implementations§
Source§impl Clone for ConfidenceAction
impl Clone for ConfidenceAction
Source§fn clone(&self) -> ConfidenceAction
fn clone(&self) -> ConfidenceAction
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 Freeze for ConfidenceAction
impl RefUnwindSafe for ConfidenceAction
impl Send for ConfidenceAction
impl Sync for ConfidenceAction
impl Unpin for ConfidenceAction
impl UnsafeUnpin for ConfidenceAction
impl UnwindSafe for ConfidenceAction
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