pub struct Tag {
pub name: Option<String>,
pub colour: Option<String>,
pub exportable: Option<bool>,
pub org_id: Option<String>,
pub user_id: Option<String>,
pub hide_tag: Option<bool>,
pub numerical_value: Option<Option<String>>,
pub is_galaxy: Option<bool>,
pub is_custom_galaxy: Option<bool>,
pub inherited: Option<i32>,
pub id: Option<String>,
}
Expand description
Tag : A tag is a simple method to classify an event with a simple string. The tag name can be freely chosen. The tag name can be also chosen from a fixed machine-tag vocabulary called MISP taxonomies
Fields§
§name: Option<String>
§colour: Option<String>
§exportable: Option<bool>
§org_id: Option<String>
§user_id: Option<String>
§hide_tag: Option<bool>
§numerical_value: Option<Option<String>>
§is_galaxy: Option<bool>
§is_custom_galaxy: Option<bool>
§inherited: Option<i32>
§id: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
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 Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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