pub struct TagMetaData {
pub value: String,
pub source: String,
pub tactic_id: String,
pub tactic_name: String,
}
Expand description
A JSON value containing key/value pairs describing various attributes about this tag.
Fields§
§value: String
example: high The value of the tag
source: String
example: system The origination of where the tag was created
tactic_id: String
example: TA0001 The Mitre tactic ID.
tactic_name: String
example: Initial Access The Mitre tactic name.
Trait Implementations§
Source§impl Clone for TagMetaData
impl Clone for TagMetaData
Source§fn clone(&self) -> TagMetaData
fn clone(&self) -> TagMetaData
Returns a copy 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 TagMetaData
impl Debug for TagMetaData
Source§impl<'de> Deserialize<'de> for TagMetaData
impl<'de> Deserialize<'de> for TagMetaData
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 TagMetaData
impl PartialEq for TagMetaData
Source§impl Serialize for TagMetaData
impl Serialize for TagMetaData
impl StructuralPartialEq for TagMetaData
Auto Trait Implementations§
impl Freeze for TagMetaData
impl RefUnwindSafe for TagMetaData
impl Send for TagMetaData
impl Sync for TagMetaData
impl Unpin for TagMetaData
impl UnwindSafe for TagMetaData
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