Trait stix::vocab::Vocabulary[][src]

pub trait Vocabulary {
    const TYPE: &'static str;

    fn is_known_value(&self) -> bool;
}

Associated Constants

const TYPE: &'static str[src]

The vocabulary identifier. This is typically a kebab-case string ending in -ov, e.g. account-type-ov.

Loading content...

Required methods

fn is_known_value(&self) -> bool[src]

Whether the contained string is a known value of the vocabulary.

Loading content...

Implementors

Loading content...