pub struct SanitizeDetection {
pub detection_type: String,
pub description: String,
pub severity: SecuritySeverity,
}Expand description
A detection found during output sanitization.
Fields§
§detection_type: StringWhat type of content was detected.
description: StringHuman-readable description.
severity: SecuritySeveritySeverity of the detection.
Trait Implementations§
Source§impl Clone for SanitizeDetection
impl Clone for SanitizeDetection
Source§fn clone(&self) -> SanitizeDetection
fn clone(&self) -> SanitizeDetection
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 SanitizeDetection
impl RefUnwindSafe for SanitizeDetection
impl Send for SanitizeDetection
impl Sync for SanitizeDetection
impl Unpin for SanitizeDetection
impl UnsafeUnpin for SanitizeDetection
impl UnwindSafe for SanitizeDetection
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