lattice_sdk/api/types/
threat.rs

1pub use crate::prelude::*;
2
3/// Describes whether an entity is a threat or not.
4#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
5pub struct Threat {
6    /// Indicates that the entity has been determined to be a threat.
7    #[serde(rename = "isThreat")]
8    #[serde(skip_serializing_if = "Option::is_none")]
9    pub is_threat: Option<bool>,
10}