pub struct NormalizationResult {
pub normalized: String,
pub detections: Vec<Detection>,
pub obfuscation_score: f32,
}Fields§
§normalized: StringCleaned text — pass this to Stage 1 instead of the raw input.
detections: Vec<Detection>All detected obfuscation events.
obfuscation_score: f320.0 = clean, 1.0 = heavily obfuscated. Threshold ~0.25 for flagging.
Trait Implementations§
Source§impl Clone for NormalizationResult
impl Clone for NormalizationResult
Source§fn clone(&self) -> NormalizationResult
fn clone(&self) -> NormalizationResult
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 moreAuto Trait Implementations§
impl Freeze for NormalizationResult
impl RefUnwindSafe for NormalizationResult
impl Send for NormalizationResult
impl Sync for NormalizationResult
impl Unpin for NormalizationResult
impl UnsafeUnpin for NormalizationResult
impl UnwindSafe for NormalizationResult
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