pub struct InputAlert {Show 19 fields
pub type: String,
pub source: String,
pub source_ref: String,
pub title: String,
pub description: String,
pub date: Option<Option<i64>>,
pub external_link: Option<Option<String>>,
pub severity: Option<Option<Severity>>,
pub tags: Option<Option<Vec<String>>>,
pub flag: Option<bool>,
pub tlp: Option<Option<Tlp>>,
pub pap: Option<Option<Pap>>,
pub custom_fields: Option<Option<Vec<InputCustomFieldValue>>>,
pub summary: Option<Option<String>>,
pub status: Option<Option<String>>,
pub assignee: Option<Option<String>>,
pub case_template: Option<Option<String>>,
pub observables: Option<Option<Vec<InputObservable>>>,
pub procedures: Option<Option<Vec<InputProcedure>>>,
}Fields§
§type: String§source: String§source_ref: String§title: String§description: String§date: Option<Option<i64>>§external_link: Option<Option<String>>§severity: Option<Option<Severity>>§flag: Option<bool>§tlp: Option<Option<Tlp>>§pap: Option<Option<Pap>>§custom_fields: Option<Option<Vec<InputCustomFieldValue>>>§summary: Option<Option<String>>§status: Option<Option<String>>§assignee: Option<Option<String>>§case_template: Option<Option<String>>§observables: Option<Option<Vec<InputObservable>>>§procedures: Option<Option<Vec<InputProcedure>>>Implementations§
Trait Implementations§
Source§impl Clone for InputAlert
impl Clone for InputAlert
Source§fn clone(&self) -> InputAlert
fn clone(&self) -> InputAlert
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 InputAlert
impl Debug for InputAlert
Source§impl Default for InputAlert
impl Default for InputAlert
Source§fn default() -> InputAlert
fn default() -> InputAlert
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputAlert
impl<'de> Deserialize<'de> for InputAlert
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 InputAlert
impl PartialEq for InputAlert
Source§impl Serialize for InputAlert
impl Serialize for InputAlert
impl StructuralPartialEq for InputAlert
Auto Trait Implementations§
impl Freeze for InputAlert
impl RefUnwindSafe for InputAlert
impl Send for InputAlert
impl Sync for InputAlert
impl Unpin for InputAlert
impl UnwindSafe for InputAlert
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