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_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 which 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) which caused the most recent violation.
security_profile_name: Option<String>The security profile whose behavior is in violation.
thing_name: Option<String>The name of the thing responsible for the active violation.
violation_id: Option<String>The ID of the active violation.
violation_start_time: Option<f64>The time the violation started.
Trait Implementations§
Source§impl Clone for ActiveViolation
impl Clone for ActiveViolation
Source§fn clone(&self) -> ActiveViolation
fn clone(&self) -> ActiveViolation
Returns a duplicate 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 ActiveViolation
impl Debug for ActiveViolation
Source§impl Default for ActiveViolation
impl Default for ActiveViolation
Source§fn default() -> ActiveViolation
fn default() -> ActiveViolation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActiveViolation
impl<'de> Deserialize<'de> for ActiveViolation
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 ActiveViolation
impl PartialEq for ActiveViolation
impl StructuralPartialEq for ActiveViolation
Auto Trait Implementations§
impl Freeze for ActiveViolation
impl RefUnwindSafe for ActiveViolation
impl Send for ActiveViolation
impl Sync for ActiveViolation
impl Unpin for ActiveViolation
impl UnwindSafe for ActiveViolation
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