Struct rusoto_iot::ViolationEvent
source · [−]pub struct ViolationEvent {
pub behavior: Option<Behavior>,
pub metric_value: Option<MetricValue>,
pub security_profile_name: Option<String>,
pub thing_name: Option<String>,
pub violation_event_additional_info: Option<ViolationEventAdditionalInfo>,
pub violation_event_time: Option<f64>,
pub violation_event_type: Option<String>,
pub violation_id: Option<String>,
}
Expand description
Information about a Device Defender security profile behavior violation.
Fields
behavior: Option<Behavior>
The behavior that was violated.
metric_value: Option<MetricValue>
The value of the metric (the measurement).
security_profile_name: Option<String>
The name of the security profile whose behavior was violated.
thing_name: Option<String>
The name of the thing responsible for the violation event.
violation_event_additional_info: Option<ViolationEventAdditionalInfo>
The details of a violation event.
violation_event_time: Option<f64>
The time the violation event occurred.
violation_event_type: Option<String>
The type of violation event.
violation_id: Option<String>
The ID of the violation event.
Trait Implementations
sourceimpl Clone for ViolationEvent
impl Clone for ViolationEvent
sourcefn clone(&self) -> ViolationEvent
fn clone(&self) -> ViolationEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ViolationEvent
impl Debug for ViolationEvent
sourceimpl Default for ViolationEvent
impl Default for ViolationEvent
sourcefn default() -> ViolationEvent
fn default() -> ViolationEvent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ViolationEvent
impl<'de> Deserialize<'de> for ViolationEvent
sourcefn 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
sourceimpl PartialEq<ViolationEvent> for ViolationEvent
impl PartialEq<ViolationEvent> for ViolationEvent
sourcefn eq(&self, other: &ViolationEvent) -> bool
fn eq(&self, other: &ViolationEvent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ViolationEvent) -> bool
fn ne(&self, other: &ViolationEvent) -> bool
This method tests for !=
.
impl StructuralPartialEq for ViolationEvent
Auto Trait Implementations
impl RefUnwindSafe for ViolationEvent
impl Send for ViolationEvent
impl Sync for ViolationEvent
impl Unpin for ViolationEvent
impl UnwindSafe for ViolationEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more