pub struct InjectionPattern {
pub name: String,
pub severity: InjectionSeverity,
pub description: String,
/* private fields */
}Expand description
A named detection rule for a specific injection technique.
Fields§
§name: StringHuman-readable name (e.g., “role_reassignment”).
severity: InjectionSeveritySeverity if this pattern matches.
description: StringDescription of what this pattern detects.
Trait Implementations§
Source§impl Clone for InjectionPattern
impl Clone for InjectionPattern
Source§fn clone(&self) -> InjectionPattern
fn clone(&self) -> InjectionPattern
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 InjectionPattern
impl RefUnwindSafe for InjectionPattern
impl Send for InjectionPattern
impl Sync for InjectionPattern
impl Unpin for InjectionPattern
impl UnsafeUnpin for InjectionPattern
impl UnwindSafe for InjectionPattern
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