pub enum SecurityControlKind {
Sanitization,
Validation,
Authentication,
Authorization,
}Expand description
Family of a control pattern observed in a file on an import trace.
Variants§
Sanitization
Sanitization or escaping before a sink.
Validation
Input validation or schema parsing.
Authentication
Authentication check or middleware.
Authorization
Authorization or permission check.
Trait Implementations§
Source§impl Clone for SecurityControlKind
impl Clone for SecurityControlKind
impl Copy for SecurityControlKind
Source§impl Debug for SecurityControlKind
impl Debug for SecurityControlKind
impl<'__de> Decode<'__de> for SecurityControlKindwhere
'__de:,
Source§impl<'de> Deserialize<'de> for SecurityControlKind
impl<'de> Deserialize<'de> for SecurityControlKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Encode for SecurityControlKind
impl Eq for SecurityControlKind
Source§impl Ord for SecurityControlKind
impl Ord for SecurityControlKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SecurityControlKind
impl PartialEq for SecurityControlKind
Source§impl PartialOrd for SecurityControlKind
impl PartialOrd for SecurityControlKind
Source§impl Serialize for SecurityControlKind
impl Serialize for SecurityControlKind
impl StructuralPartialEq for SecurityControlKind
Auto Trait Implementations§
impl Freeze for SecurityControlKind
impl RefUnwindSafe for SecurityControlKind
impl Send for SecurityControlKind
impl Sync for SecurityControlKind
impl Unpin for SecurityControlKind
impl UnsafeUnpin for SecurityControlKind
impl UnwindSafe for SecurityControlKind
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.