pub struct Attribute {Show 19 fields
pub event_id: Option<String>,
pub object_id: Option<String>,
pub object_relation: Option<Option<String>>,
pub category: Option<AttributeCategory>,
pub type: Option<AttributeType>,
pub value: Option<String>,
pub to_ids: Option<bool>,
pub uuid: Option<Uuid>,
pub timestamp: Option<Option<String>>,
pub distribution: Option<DistributionLevelId>,
pub sharing_group_id: Option<Option<String>>,
pub comment: Option<String>,
pub deleted: Option<bool>,
pub disable_correlation: Option<bool>,
pub first_seen: Option<Box<AttributeNoIdFirstSeen>>,
pub last_seen: Option<Box<AttributeNoIdFirstSeen>>,
pub tag: Option<Vec<Tag>>,
pub galaxy: Option<Vec<Galaxy>>,
pub id: Option<String>,
}
Fields§
§event_id: Option<String>
§object_id: Option<String>
§object_relation: Option<Option<String>>
§category: Option<AttributeCategory>
§type: Option<AttributeType>
§value: Option<String>
§to_ids: Option<bool>
§uuid: Option<Uuid>
§timestamp: Option<Option<String>>
§distribution: Option<DistributionLevelId>
§sharing_group_id: Option<Option<String>>
§comment: Option<String>
§deleted: Option<bool>
§disable_correlation: Option<bool>
§first_seen: Option<Box<AttributeNoIdFirstSeen>>
§last_seen: Option<Box<AttributeNoIdFirstSeen>>
§tag: Option<Vec<Tag>>
§galaxy: Option<Vec<Galaxy>>
§id: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Attribute
impl<'de> Deserialize<'de> for Attribute
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
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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