pub struct SanitizationStats {
pub original_length: usize,
pub sanitized_length: usize,
pub removed_characters: usize,
pub compression_ratio: f32,
pub dangerous_patterns_found: bool,
}Expand description
Statistics about sanitization process
Fields§
§original_length: usize§sanitized_length: usize§removed_characters: usize§compression_ratio: f32§dangerous_patterns_found: boolImplementations§
Trait Implementations§
Source§impl Clone for SanitizationStats
impl Clone for SanitizationStats
Source§fn clone(&self) -> SanitizationStats
fn clone(&self) -> SanitizationStats
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 SanitizationStats
impl RefUnwindSafe for SanitizationStats
impl Send for SanitizationStats
impl Sync for SanitizationStats
impl Unpin for SanitizationStats
impl UnwindSafe for SanitizationStats
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