Struct aws_sdk_frauddetector::types::EvaluatedRule
source · #[non_exhaustive]pub struct EvaluatedRule {
pub rule_id: Option<String>,
pub rule_version: Option<String>,
pub expression: Option<String>,
pub expression_with_values: Option<String>,
pub outcomes: Option<Vec<String>>,
pub evaluated: Option<bool>,
pub matched: Option<bool>,
}
Expand description
The details of the rule used for evaluating variable values.
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.rule_id: Option<String>
The rule ID.
rule_version: Option<String>
The rule version.
expression: Option<String>
The rule expression.
expression_with_values: Option<String>
The rule expression value.
outcomes: Option<Vec<String>>
The rule outcome.
evaluated: Option<bool>
Indicates whether the rule was evaluated.
matched: Option<bool>
Indicates whether the rule matched.
Implementations§
source§impl EvaluatedRule
impl EvaluatedRule
sourcepub fn rule_version(&self) -> Option<&str>
pub fn rule_version(&self) -> Option<&str>
The rule version.
sourcepub fn expression(&self) -> Option<&str>
pub fn expression(&self) -> Option<&str>
The rule expression.
sourcepub fn expression_with_values(&self) -> Option<&str>
pub fn expression_with_values(&self) -> Option<&str>
The rule expression value.
source§impl EvaluatedRule
impl EvaluatedRule
sourcepub fn builder() -> EvaluatedRuleBuilder
pub fn builder() -> EvaluatedRuleBuilder
Creates a new builder-style object to manufacture EvaluatedRule
.
Trait Implementations§
source§impl Clone for EvaluatedRule
impl Clone for EvaluatedRule
source§fn clone(&self) -> EvaluatedRule
fn clone(&self) -> EvaluatedRule
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 EvaluatedRule
impl Debug for EvaluatedRule
source§impl PartialEq for EvaluatedRule
impl PartialEq for EvaluatedRule
source§fn eq(&self, other: &EvaluatedRule) -> bool
fn eq(&self, other: &EvaluatedRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EvaluatedRule
Auto Trait Implementations§
impl Freeze for EvaluatedRule
impl RefUnwindSafe for EvaluatedRule
impl Send for EvaluatedRule
impl Sync for EvaluatedRule
impl Unpin for EvaluatedRule
impl UnwindSafe for EvaluatedRule
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.