pub struct RouteDetectionExclusions {
pub excluded_detection_headers: Option<Vec<String>>,
pub excluded_semantic_detection_headers: Option<Vec<String>>,
pub excluded_detection_params: Option<Vec<String>>,
pub excluded_detection_body_fields: Option<Vec<String>>,
pub enabled_detection_categories: Option<Vec<String>>,
pub detection_scan_body: Option<bool>,
}Expand description
The route decorator’s detection-exclusion surface.
The reference RouteConfig fields of the same names. A None field
inherits the global resolution for that surface; a Some value
replaces it (the header set is the exception: it always merges).
Fields§
§excluded_detection_headers: Option<Vec<String>>excluded_detection_headers (merged with the defaults and the
config set).
excluded_semantic_detection_headers: Option<Vec<String>>excluded_semantic_detection_headers: merged with the global set,
never a replacement.
excluded_detection_params: Option<Vec<String>>excluded_detection_params.
excluded_detection_body_fields: Option<Vec<String>>excluded_detection_body_fields.
enabled_detection_categories: Option<Vec<String>>enabled_detection_categories: a Some (even empty) replaces the
global set - an empty set disables every category, the reference’s
empty frozenset.
detection_scan_body: Option<bool>detection_scan_body: a Some overrides the global flag both
directions.
Trait Implementations§
Source§impl Clone for RouteDetectionExclusions
impl Clone for RouteDetectionExclusions
Source§impl Debug for RouteDetectionExclusions
impl Debug for RouteDetectionExclusions
Source§impl Default for RouteDetectionExclusions
impl Default for RouteDetectionExclusions
impl Eq for RouteDetectionExclusions
Source§impl PartialEq for RouteDetectionExclusions
impl PartialEq for RouteDetectionExclusions
impl StructuralPartialEq for RouteDetectionExclusions
Auto Trait Implementations§
impl Freeze for RouteDetectionExclusions
impl RefUnwindSafe for RouteDetectionExclusions
impl Send for RouteDetectionExclusions
impl Sync for RouteDetectionExclusions
impl Unpin for RouteDetectionExclusions
impl UnsafeUnpin for RouteDetectionExclusions
impl UnwindSafe for RouteDetectionExclusions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.