pub struct ObfuscationStats {
pub original_length: usize,
pub obfuscated_length: usize,
pub expansion_ratio: f64,
pub unique_chars_obfuscated: usize,
pub mappings_used: usize,
}Expand description
Statistics about an obfuscation operation
Fields§
§original_length: usizeOriginal text length
obfuscated_length: usizeObfuscated text length
expansion_ratio: f64Expansion ratio
unique_chars_obfuscated: usizeNumber of unique characters obfuscated
mappings_used: usizeNumber of mappings used
Trait Implementations§
Source§impl Clone for ObfuscationStats
impl Clone for ObfuscationStats
Source§fn clone(&self) -> ObfuscationStats
fn clone(&self) -> ObfuscationStats
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 moreSource§impl Debug for ObfuscationStats
impl Debug for ObfuscationStats
Source§impl<'de> Deserialize<'de> for ObfuscationStats
impl<'de> Deserialize<'de> for ObfuscationStats
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 ObfuscationStats
impl RefUnwindSafe for ObfuscationStats
impl Send for ObfuscationStats
impl Sync for ObfuscationStats
impl Unpin for ObfuscationStats
impl UnwindSafe for ObfuscationStats
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