pub enum FindingSource {
Hard,
Model,
}Expand description
Finding 来源分类。
Variants§
Hard
正则 / 结构化硬指纹(v0.3 HARD_RULES 14 项)—— 高 precision,<1ms
Model
OpenAI Privacy Filter 模型输出(8 类标签)—— 高 recall,400-630 ms CPU
Trait Implementations§
Source§impl Clone for FindingSource
impl Clone for FindingSource
Source§fn clone(&self) -> FindingSource
fn clone(&self) -> FindingSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FindingSource
Source§impl Debug for FindingSource
impl Debug for FindingSource
impl Eq for FindingSource
Source§impl PartialEq for FindingSource
impl PartialEq for FindingSource
Source§fn eq(&self, other: &FindingSource) -> bool
fn eq(&self, other: &FindingSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FindingSource
Auto Trait Implementations§
impl Freeze for FindingSource
impl RefUnwindSafe for FindingSource
impl Send for FindingSource
impl Sync for FindingSource
impl Unpin for FindingSource
impl UnsafeUnpin for FindingSource
impl UnwindSafe for FindingSource
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