Skip to main content

tp_lib_core/
models.rs

1//! Data models for GNSS positioning and railway network
2
3pub mod associated_net_element;
4pub mod detection;
5pub mod detection_record;
6pub mod gnss;
7pub mod gnss_net_element_link;
8pub mod netelement;
9pub mod netrelation;
10pub mod path_metadata;
11pub mod path_origin;
12pub mod projected_position;
13pub mod retrieval;
14pub mod train_path;
15
16pub use associated_net_element::AssociatedNetElement;
17pub use detection::{
18    Detection, GeographicLocation, LinearDetection, PunctualDetection, ResolvedAnchor,
19    TopologicalLocation,
20};
21pub use detection_record::{
22    DetectionKind, DetectionRecord, DetectionStatus, DiscardReason, TimestampOrRange,
23};
24pub use gnss::GnssPosition;
25pub use gnss_net_element_link::GnssNetElementLink;
26pub use netelement::Netelement;
27pub use netrelation::NetRelation;
28pub use path_metadata::{PathDiagnosticInfo, PathMetadata, SegmentDiagnostic};
29pub use path_origin::PathOrigin;
30pub use projected_position::ProjectedPosition;
31pub use retrieval::{
32    AutoTopologyRequest, RetrievalArea, RetrievalOutcome, RetrievalStatus, RetrievedTopology,
33    RinfNavigability, RinfNetelementRow, RinfNetrelationRow, TopologySource,
34    TopologyValidationReport, TopologyValidationStatus, WorkflowKind,
35    COARSE_GEOMETRY_LENGTH_THRESHOLD_METERS, DEFAULT_RETRIEVAL_BUFFER_METERS,
36    DEFAULT_RINF_ENDPOINT,
37};
38pub use train_path::TrainPath;