pub struct InputObservable {Show 14 fields
pub data_type: String,
pub data: Option<Option<String>>,
pub message: Option<Option<String>>,
pub start_date: Option<Option<i64>>,
pub tlp: Option<Option<Tlp>>,
pub pap: Option<Option<Pap>>,
pub tags: Option<Option<Vec<String>>>,
pub ioc: Option<bool>,
pub sighted: Option<bool>,
pub sighted_at: Option<Option<i64>>,
pub ignore_similarity: Option<bool>,
pub is_zip: Option<bool>,
pub zip_password: Option<Option<String>>,
pub attachment: Option<Option<String>>,
}Fields§
§data_type: String§data: Option<Option<String>>§message: Option<Option<String>>§start_date: Option<Option<i64>>Epoch milliseconds
tlp: Option<Option<Tlp>>§pap: Option<Option<Pap>>§ioc: Option<bool>§sighted: Option<bool>§sighted_at: Option<Option<i64>>Epoch milliseconds
ignore_similarity: Option<bool>§is_zip: Option<bool>§zip_password: Option<Option<String>>§attachment: Option<Option<String>>Implementations§
Source§impl InputObservable
impl InputObservable
pub fn new(data_type: String) -> InputObservable
Trait Implementations§
Source§impl Clone for InputObservable
impl Clone for InputObservable
Source§fn clone(&self) -> InputObservable
fn clone(&self) -> InputObservable
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 InputObservable
impl Debug for InputObservable
Source§impl Default for InputObservable
impl Default for InputObservable
Source§fn default() -> InputObservable
fn default() -> InputObservable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputObservable
impl<'de> Deserialize<'de> for InputObservable
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 InputObservable
impl PartialEq for InputObservable
Source§impl Serialize for InputObservable
impl Serialize for InputObservable
impl StructuralPartialEq for InputObservable
Auto Trait Implementations§
impl Freeze for InputObservable
impl RefUnwindSafe for InputObservable
impl Send for InputObservable
impl Sync for InputObservable
impl Unpin for InputObservable
impl UnwindSafe for InputObservable
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