Struct aws_sdk_frauddetector::types::RuleDetail
source · #[non_exhaustive]pub struct RuleDetail {
pub rule_id: Option<String>,
pub description: Option<String>,
pub detector_id: Option<String>,
pub rule_version: Option<String>,
pub expression: Option<String>,
pub language: Option<Language>,
pub outcomes: Option<Vec<String>>,
pub last_updated_time: Option<String>,
pub created_time: Option<String>,
pub arn: Option<String>,
}
Expand description
The details of the rule.
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.
description: Option<String>
The rule description.
detector_id: Option<String>
The detector for which the rule is associated.
rule_version: Option<String>
The rule version.
expression: Option<String>
The rule expression.
language: Option<Language>
The rule language.
outcomes: Option<Vec<String>>
The rule outcomes.
last_updated_time: Option<String>
Timestamp of the last time the rule was updated.
created_time: Option<String>
The timestamp of when the rule was created.
arn: Option<String>
The rule ARN.
Implementations§
source§impl RuleDetail
impl RuleDetail
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The rule description.
sourcepub fn detector_id(&self) -> Option<&str>
pub fn detector_id(&self) -> Option<&str>
The detector for which the rule is associated.
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 outcomes(&self) -> &[String]
pub fn outcomes(&self) -> &[String]
The rule outcomes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .outcomes.is_none()
.
sourcepub fn last_updated_time(&self) -> Option<&str>
pub fn last_updated_time(&self) -> Option<&str>
Timestamp of the last time the rule was updated.
sourcepub fn created_time(&self) -> Option<&str>
pub fn created_time(&self) -> Option<&str>
The timestamp of when the rule was created.
source§impl RuleDetail
impl RuleDetail
sourcepub fn builder() -> RuleDetailBuilder
pub fn builder() -> RuleDetailBuilder
Creates a new builder-style object to manufacture RuleDetail
.
Trait Implementations§
source§impl Clone for RuleDetail
impl Clone for RuleDetail
source§fn clone(&self) -> RuleDetail
fn clone(&self) -> RuleDetail
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 RuleDetail
impl Debug for RuleDetail
source§impl PartialEq for RuleDetail
impl PartialEq for RuleDetail
source§fn eq(&self, other: &RuleDetail) -> bool
fn eq(&self, other: &RuleDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleDetail
Auto Trait Implementations§
impl Freeze for RuleDetail
impl RefUnwindSafe for RuleDetail
impl Send for RuleDetail
impl Sync for RuleDetail
impl Unpin for RuleDetail
impl UnwindSafe for RuleDetail
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.