pub enum SensitiveMatcher {
Exists,
Equals(Value),
Regex(String),
Gt(f64),
Lt(f64),
}Expand description
Matcher for a sensitive invocation predicate.
Variants§
Exists
The selected value exists.
Equals(Value)
The selected value equals this JSON value.
Regex(String)
The selected string matches this regular expression.
Gt(f64)
The selected numeric value is greater than this threshold.
Lt(f64)
The selected numeric value is less than this threshold.
Trait Implementations§
Source§impl Clone for SensitiveMatcher
impl Clone for SensitiveMatcher
Source§fn clone(&self) -> SensitiveMatcher
fn clone(&self) -> SensitiveMatcher
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SensitiveMatcher
impl Debug for SensitiveMatcher
Source§impl<'de> Deserialize<'de> for SensitiveMatcher
impl<'de> Deserialize<'de> for SensitiveMatcher
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
Source§impl PartialEq for SensitiveMatcher
impl PartialEq for SensitiveMatcher
Source§fn eq(&self, other: &SensitiveMatcher) -> bool
fn eq(&self, other: &SensitiveMatcher) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SensitiveMatcher
impl Serialize for SensitiveMatcher
impl StructuralPartialEq for SensitiveMatcher
Auto Trait Implementations§
impl Freeze for SensitiveMatcher
impl RefUnwindSafe for SensitiveMatcher
impl Send for SensitiveMatcher
impl Sync for SensitiveMatcher
impl Unpin for SensitiveMatcher
impl UnsafeUnpin for SensitiveMatcher
impl UnwindSafe for SensitiveMatcher
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