Skip to main content

Crate stix_model

Crate stix_model 

Source
Expand description

STIX 2.1 object model: values, objects, bundles, and an object store.

Re-exports§

pub use bundle::Bundle;
pub use error::ModelError;
pub use error::Result;
pub use object::StixObject;
pub use object::TypedObject;
pub use registry::ModelRegistry;
pub use sdo::ObservedData;
pub use store::ObjectStore;
pub use value::StixValue;
pub use version::SpecVersion;
pub use view::CustomObject;
pub use view::GenericObject;
pub use view::ObjectView;

Modules§

bundle
The STIX bundle container.
error
Error type for the object model.
object
StixObject: the hybrid typed-or-generic object, with deserialization dispatch.
registry
ModelRegistry: register consumer-supplied handling for STIX object types.
sdo
Typed STIX Domain Objects. Phase 1 implements observed-data; more are additive.
store
ObjectStore: an id-indexed collection for resolving references.
value
StixValue: a uniform, JSON-shaped value the matcher can walk.
version
STIX specification version seam.
view
The ObjectView trait and the generic value-backed object.