pub struct ExtendedAttribute {Show 22 fields
pub id: Option<String>,
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 data: Option<Vec<u8>>,
pub event_uuid: Option<Uuid>,
pub decay_score: Option<Vec<DecayScore>>,
}
Fields§
§id: Option<String>
§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>>
§data: Option<Vec<u8>>
base64 representation of the attachment
event_uuid: Option<Uuid>
§decay_score: Option<Vec<DecayScore>>
Implementations§
Source§impl ExtendedAttribute
impl ExtendedAttribute
pub fn new() -> ExtendedAttribute
Trait Implementations§
Source§impl Clone for ExtendedAttribute
impl Clone for ExtendedAttribute
Source§fn clone(&self) -> ExtendedAttribute
fn clone(&self) -> ExtendedAttribute
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 ExtendedAttribute
impl Debug for ExtendedAttribute
Source§impl Default for ExtendedAttribute
impl Default for ExtendedAttribute
Source§fn default() -> ExtendedAttribute
fn default() -> ExtendedAttribute
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtendedAttribute
impl<'de> Deserialize<'de> for ExtendedAttribute
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 ExtendedAttribute
impl PartialEq for ExtendedAttribute
Source§impl Serialize for ExtendedAttribute
impl Serialize for ExtendedAttribute
impl StructuralPartialEq for ExtendedAttribute
Auto Trait Implementations§
impl Freeze for ExtendedAttribute
impl RefUnwindSafe for ExtendedAttribute
impl Send for ExtendedAttribute
impl Sync for ExtendedAttribute
impl Unpin for ExtendedAttribute
impl UnwindSafe for ExtendedAttribute
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