pub struct Event {Show 19 fields
pub id: String,
pub uuid: String,
pub info: String,
pub org_id: String,
pub orgc_id: String,
pub date: Option<NaiveDate>,
pub threat_level_id: ThreatLevel,
pub analysis: AnalysisLevel,
pub distribution: Distribution,
pub published: bool,
pub timestamp: Option<String>,
pub publish_timestamp: Option<String>,
pub attributes: Vec<Attribute>,
pub objects: Vec<MispObject>,
pub tags: Vec<Tag>,
pub galaxies: Vec<Galaxy>,
pub org: Option<Organisation>,
pub orgc: Option<Organisation>,
pub attribute_count: Option<String>,
}Fields§
§id: String§uuid: String§info: String§org_id: String§orgc_id: String§date: Option<NaiveDate>§threat_level_id: ThreatLevel§analysis: AnalysisLevel§distribution: Distribution§published: bool§timestamp: Option<String>§publish_timestamp: Option<String>§attributes: Vec<Attribute>§objects: Vec<MispObject>§galaxies: Vec<Galaxy>§org: Option<Organisation>§orgc: Option<Organisation>§attribute_count: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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