pub enum ThresholdConsideration {
Trigger(String),
NestedThreshold(Threshold),
}
Expand description
A consideration by the threshold that evaluates to
either true
or false
. This can be a Trigger
identified by its id
, or a NestedThreshold
.
Variants§
Trigger(String)
Refers to a Trigger in the query by its ID.
NestedThreshold(Threshold)
Contains a Threshold which will then itself be independently evaluated by the scan engine.
Trait Implementations§
Source§impl Clone for ThresholdConsideration
impl Clone for ThresholdConsideration
Source§fn clone(&self) -> ThresholdConsideration
fn clone(&self) -> ThresholdConsideration
Returns a copy 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 moreSource§impl Debug for ThresholdConsideration
impl Debug for ThresholdConsideration
Source§impl<'de> Deserialize<'de> for ThresholdConsideration
impl<'de> Deserialize<'de> for ThresholdConsideration
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 ThresholdConsideration
impl PartialEq for ThresholdConsideration
Source§impl Serialize for ThresholdConsideration
impl Serialize for ThresholdConsideration
impl StructuralPartialEq for ThresholdConsideration
Auto Trait Implementations§
impl Freeze for ThresholdConsideration
impl RefUnwindSafe for ThresholdConsideration
impl Send for ThresholdConsideration
impl Sync for ThresholdConsideration
impl Unpin for ThresholdConsideration
impl UnwindSafe for ThresholdConsideration
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