Struct rusoto_iot::ActiveViolation [−][src]
pub struct ActiveViolation { pub behavior: Option<Behavior>, pub last_violation_time: Option<f64>, pub last_violation_value: Option<MetricValue>, pub security_profile_name: Option<String>, pub thing_name: Option<String>, pub violation_event_additional_info: Option<ViolationEventAdditionalInfo>, pub violation_id: Option<String>, pub violation_start_time: Option<f64>, }
Expand description
Information about an active Device Defender security profile behavior violation.
Fields
behavior: Option<Behavior>
The behavior that is being violated.
last_violation_time: Option<f64>
The time the most recent violation occurred.
last_violation_value: Option<MetricValue>
The value of the metric (the measurement) that caused the most recent violation.
security_profile_name: Option<String>
The security profile with the behavior is in violation.
thing_name: Option<String>
The name of the thing responsible for the active violation.
violation_event_additional_info: Option<ViolationEventAdditionalInfo>
The details of a violation event.
violation_id: Option<String>
The ID of the active violation.
violation_start_time: Option<f64>
The time the violation started.
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ActiveViolation
impl Send for ActiveViolation
impl Sync for ActiveViolation
impl Unpin for ActiveViolation
impl UnwindSafe for ActiveViolation
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self