Struct sdl_parser::node::Node
source · pub struct Node {
pub type_field: NodeType,
pub description: Option<String>,
pub resources: Option<Resources>,
pub source: Option<Source>,
pub features: Option<Vec<String>>,
pub conditions: Option<Vec<String>>,
pub vulnerabilities: Option<Vec<String>>,
/* private fields */
}
Fields§
§type_field: NodeType
§description: Option<String>
§resources: Option<Resources>
§source: Option<Source>
§features: Option<Vec<String>>
§conditions: Option<Vec<String>>
§vulnerabilities: Option<Vec<String>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
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<Node> for Node
impl PartialEq<Node> for Node
impl Eq for Node
impl StructuralEq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.