#[non_exhaustive]pub struct SanitizationEvent {
pub node_id: NodeId,
pub kind: String,
pub subpath: Option<NodeId>,
}Expand description
A value sanitized while flowing through node_id, tracked for taint analysis.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.node_id: NodeIdId of the node performing the sanitization.
kind: StringThe sanitization’s kind, e.g. the sanitizer function’s name.
subpath: Option<NodeId>Id of the object path sanitized, when only part of a value is affected.
Trait Implementations§
Source§impl Clone for SanitizationEvent
impl Clone for SanitizationEvent
Source§impl Debug for SanitizationEvent
impl Debug for SanitizationEvent
impl Eq for SanitizationEvent
Source§impl PartialEq for SanitizationEvent
impl PartialEq for SanitizationEvent
impl StructuralPartialEq for SanitizationEvent
Auto Trait Implementations§
impl Forget for SanitizationEvent
impl Freeze for SanitizationEvent
impl RefUnwindSafe for SanitizationEvent
impl Send for SanitizationEvent
impl Sync for SanitizationEvent
impl Unpin for SanitizationEvent
impl UnsafeUnpin for SanitizationEvent
impl UnwindSafe for SanitizationEvent
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