pub struct OutputObservable {Show 22 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 data_type: String,
pub data: Option<Option<String>>,
pub attachment: Option<Box<OutputAttachment>>,
pub message: Option<Option<String>>,
pub start_date: i64,
pub tlp: i32,
pub tlp_label: String,
pub pap: i32,
pub pap_label: String,
pub ioc: bool,
pub sighted: bool,
pub sighted_at: Option<Option<i64>>,
pub reports: HashMap<String, Value>,
pub extra_data: HashMap<String, Value>,
pub ignore_similarity: bool,
pub tags: Option<Option<Vec<String>>>,
}Fields§
§_id: String§_type: String§_created_by: String§_created_at: i64§_updated_by: Option<Option<String>>§_updated_at: Option<Option<i64>>§data_type: String§data: Option<Option<String>>§attachment: Option<Box<OutputAttachment>>§message: Option<Option<String>>§start_date: i64§tlp: i32§tlp_label: String§pap: i32§pap_label: String§ioc: bool§sighted: bool§sighted_at: Option<Option<i64>>§reports: HashMap<String, Value>§extra_data: HashMap<String, Value>§ignore_similarity: boolImplementations§
Source§impl OutputObservable
impl OutputObservable
pub fn new( _id: String, _type: String, _created_by: String, _created_at: i64, data_type: String, start_date: i64, tlp: i32, tlp_label: String, pap: i32, pap_label: String, ioc: bool, sighted: bool, reports: HashMap<String, Value>, extra_data: HashMap<String, Value>, ignore_similarity: bool, ) -> OutputObservable
Trait Implementations§
Source§impl Clone for OutputObservable
impl Clone for OutputObservable
Source§fn clone(&self) -> OutputObservable
fn clone(&self) -> OutputObservable
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 OutputObservable
impl Debug for OutputObservable
Source§impl Default for OutputObservable
impl Default for OutputObservable
Source§fn default() -> OutputObservable
fn default() -> OutputObservable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputObservable
impl<'de> Deserialize<'de> for OutputObservable
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 OutputObservable
impl PartialEq for OutputObservable
Source§impl Serialize for OutputObservable
impl Serialize for OutputObservable
impl StructuralPartialEq for OutputObservable
Auto Trait Implementations§
impl Freeze for OutputObservable
impl RefUnwindSafe for OutputObservable
impl Send for OutputObservable
impl Sync for OutputObservable
impl Unpin for OutputObservable
impl UnwindSafe for OutputObservable
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