Skip to main content

Crate ant_types

Crate ant_types 

Source
Expand description

Record types of the open Antares format.

This is the publishable subset of the engine’s domain model: the things that appear IN a .ant file and nothing else. antares-core re-exports all of it, so engine code is unaffected — but the split is what lets ant-types + antares-format be published to openantares/ant without dragging along engine-internal concerns, which stay private.

Apache-2.0, and free of utoipa unless the utoipa feature is enabled by the engine.

Re-exports§

pub use author::AuthorStamp;
pub use author::SubjectType;
pub use author::TokenId;
pub use author::UserId;
pub use belief::Belief;
pub use belief::BeliefId;
pub use decimal::Decimal;
pub use error::CoreError;
pub use evidence::Evidence;
pub use evidence::EvidenceId;
pub use graph::Edge;
pub use graph::PropertyValue;
pub use graph::Vertex;
pub use ids::EdgeId;
pub use ids::Namespace;
pub use ids::ProjectId;
pub use ids::TenantId;
pub use ids::TypeName;
pub use ids::VertexId;
pub use observation::Observation;
pub use observation::ObservationId;
pub use schema::*;

Modules§

author
Record authorship — the provenance stamp carried on insight-plane records.
belief
Antares-native beliefs.
decimal
Exact decimal (SQL DECIMAL/NUMERIC, money).
error
evidence
Antares-native first-class evidence.
graph
Graph data model: Vertex, Edge, PropertyValue, SubGraph.
ids
observation
Antares-native observations.
property
PropertyValue — the typed value of a vertex/edge property.
schema