pub struct OutputAlert {Show 38 fields
pub _id: String,
pub _type: String,
pub _created_by: String,
pub _created_at: i64,
pub _updated_by: Option<Option<String>>,
pub _updated_at: Option<Option<i64>>,
pub type: String,
pub source: String,
pub source_ref: String,
pub external_link: Option<Option<String>>,
pub title: String,
pub description: String,
pub severity: i32,
pub severity_label: String,
pub date: i64,
pub tags: Option<Option<Vec<String>>>,
pub tlp: i32,
pub tlp_label: String,
pub pap: i32,
pub pap_label: String,
pub follow: bool,
pub custom_fields: Option<Option<Vec<OutputCustomFieldValue>>>,
pub status: String,
pub summary: Option<Option<String>>,
pub assignee: Option<Option<String>>,
pub case_template: Option<Option<String>>,
pub case_id: Option<Option<String>>,
pub observable_count: i32,
pub stage: String,
pub extra_data: HashMap<String, Value>,
pub new_date: i64,
pub in_progress_date: Option<Option<i64>>,
pub closed_date: Option<Option<i64>>,
pub imported_date: Option<Option<i64>>,
pub time_to_detect: i64,
pub time_to_triage: Option<Option<i64>>,
pub time_to_qualify: Option<Option<i64>>,
pub time_to_acknowledge: Option<Option<i64>>,
}Fields§
§_id: String§_type: String§_created_by: String§_created_at: i64§_updated_by: Option<Option<String>>§_updated_at: Option<Option<i64>>§type: String§source: String§source_ref: String§external_link: Option<Option<String>>§title: String§description: String§severity: i32§severity_label: String§date: i64§tlp: i32§tlp_label: String§pap: i32§pap_label: String§follow: bool§custom_fields: Option<Option<Vec<OutputCustomFieldValue>>>§status: String§summary: Option<Option<String>>§assignee: Option<Option<String>>§case_template: Option<Option<String>>§case_id: Option<Option<String>>§observable_count: i32§stage: String§extra_data: HashMap<String, Value>§new_date: i64§in_progress_date: Option<Option<i64>>§closed_date: Option<Option<i64>>§imported_date: Option<Option<i64>>§time_to_detect: i64§time_to_triage: Option<Option<i64>>§time_to_qualify: Option<Option<i64>>§time_to_acknowledge: Option<Option<i64>>Implementations§
Source§impl OutputAlert
impl OutputAlert
pub fn new( _id: String, _type: String, _created_by: String, _created_at: i64, type: String, source: String, source_ref: String, title: String, description: String, severity: i32, severity_label: String, date: i64, tlp: i32, tlp_label: String, pap: i32, pap_label: String, follow: bool, status: String, observable_count: i32, stage: String, extra_data: HashMap<String, Value>, new_date: i64, time_to_detect: i64, ) -> OutputAlert
Trait Implementations§
Source§impl Clone for OutputAlert
impl Clone for OutputAlert
Source§fn clone(&self) -> OutputAlert
fn clone(&self) -> OutputAlert
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 OutputAlert
impl Debug for OutputAlert
Source§impl Default for OutputAlert
impl Default for OutputAlert
Source§fn default() -> OutputAlert
fn default() -> OutputAlert
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputAlert
impl<'de> Deserialize<'de> for OutputAlert
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 OutputAlert
impl PartialEq for OutputAlert
Source§impl Serialize for OutputAlert
impl Serialize for OutputAlert
impl StructuralPartialEq for OutputAlert
Auto Trait Implementations§
impl Freeze for OutputAlert
impl RefUnwindSafe for OutputAlert
impl Send for OutputAlert
impl Sync for OutputAlert
impl Unpin for OutputAlert
impl UnwindSafe for OutputAlert
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