pub struct Indicator {
pub common: CommonProperties,
pub name: Option<String>,
pub description: Option<String>,
pub indicator_types: Option<Vec<String>>,
pub pattern: String,
pub pattern_type: IndicatorPatternType,
pub pattern_version: Option<String>,
pub valid_from: DateTime<Utc>,
pub valid_until: Option<DateTime<Utc>>,
pub kill_chain_phases: Option<Vec<KillChainPhase>>,
}Expand description
Indicator Domain Object
Fields§
§common: CommonProperties§name: Option<String>§description: Option<String>§indicator_types: Option<Vec<String>>§pattern: String§pattern_type: IndicatorPatternType§pattern_version: Option<String>§valid_from: DateTime<Utc>§valid_until: Option<DateTime<Utc>>§kill_chain_phases: Option<Vec<KillChainPhase>>Implementations§
Source§impl Indicator
impl Indicator
pub fn builder() -> IndicatorBuilder
Sourcepub fn validate_pattern(&self) -> Result<(), PatternError>
pub fn validate_pattern(&self) -> Result<(), PatternError>
Validate the pattern syntax
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Indicator
impl<'de> Deserialize<'de> for Indicator
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 From<Indicator> for StixObjectEnum
impl From<Indicator> for StixObjectEnum
Source§impl StixObject for Indicator
impl StixObject for Indicator
impl Eq for Indicator
impl StructuralPartialEq for Indicator
Auto Trait Implementations§
impl Freeze for Indicator
impl RefUnwindSafe for Indicator
impl Send for Indicator
impl Sync for Indicator
impl Unpin for Indicator
impl UnwindSafe for Indicator
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