pub struct HtmlEntityTamper;Expand description
HTML entity tamper strategy.
Trait Implementations§
Source§impl TamperStrategy for HtmlEntityTamper
impl TamperStrategy for HtmlEntityTamper
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Returns a description of what this strategy does.
Source§fn tamper(&self, payload: &str, _context: Option<&str>) -> String
fn tamper(&self, payload: &str, _context: Option<&str>) -> String
Transforms the input payload. Read more
Source§fn aggressiveness(&self) -> f64
fn aggressiveness(&self) -> f64
Returns the aggressiveness score (0.0 = mild, 1.0 = extreme).
Auto Trait Implementations§
impl Freeze for HtmlEntityTamper
impl RefUnwindSafe for HtmlEntityTamper
impl Send for HtmlEntityTamper
impl Sync for HtmlEntityTamper
impl Unpin for HtmlEntityTamper
impl UnsafeUnpin for HtmlEntityTamper
impl UnwindSafe for HtmlEntityTamper
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