Skip to content

Rust API Reference

Auto-generated from source

The Rust API reference is auto-generated from /// doc comments by rustdoc. Run docs_build or docs_serve to generate it — it is served at /rustdoc/phytrace_sdk/.

Browse the full Rust API docs →

You can also generate and open directly:

cd PhyTrace/rust-sdk
cargo doc --all-features --open

Key Types

Type Description
UdmEvent Core UDM event envelope with all 23 domain fields
EventType Event classification enum
SourceType Source classification enum
PhyTraceAgent High-level agent orchestrator
PhyTraceConfig Agent configuration
Transport Transport trait for custom backends
HttpTransport HTTP transport implementation
FileBuffer Persistent file-based edge buffer
ValidationEngine Schema and business rule validation

Domain Structs

All 23 UDM domains are documented under phytrace_sdk::models::domains:

Domain Struct
Identity IdentityDomain
Location LocationDomain
Motion MotionDomain
Power PowerDomain
Safety SafetyDomain
Operational OperationalDomain
Navigation NavigationDomain
Perception PerceptionDomain
AI AiDomain
...and 14 more Full module index