pub enum VrtNodeType {
Category,
Subcategory,
Variant,
}Expand description
Represents the type of a VRT node in the taxonomy hierarchy
Variants§
Category
Top-level category (e.g., “AI Application Security”)
Subcategory
Subcategory within a category (e.g., “Prompt Injection”)
Variant
Specific vulnerability variant (e.g., “System Prompt Leakage”)
Trait Implementations§
Source§impl Clone for VrtNodeType
impl Clone for VrtNodeType
Source§fn clone(&self) -> VrtNodeType
fn clone(&self) -> VrtNodeType
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 VrtNodeType
impl Debug for VrtNodeType
Source§impl<'de> Deserialize<'de> for VrtNodeType
impl<'de> Deserialize<'de> for VrtNodeType
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 VrtNodeType
impl PartialEq for VrtNodeType
Source§impl Serialize for VrtNodeType
impl Serialize for VrtNodeType
impl Eq for VrtNodeType
impl StructuralPartialEq for VrtNodeType
Auto Trait Implementations§
impl Freeze for VrtNodeType
impl RefUnwindSafe for VrtNodeType
impl Send for VrtNodeType
impl Sync for VrtNodeType
impl Unpin for VrtNodeType
impl UnwindSafe for VrtNodeType
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