Skip to main content

Rust API reference

Rust 2024 with MSRV 1.85. Values own their data and expose borrowed getters. Consuming builders return Result<T, ValidationError>; Clone and into_builder() support safe editing. Every modeled wire value implements Serde serialization and checked deserialization. JSON ingress is also available through TryFrom<serde_json::Value>.

Rust is available on crates.io; see installation. Run cargo doc --manifest-path rust/Cargo.toml --no-deps for the full native rustdoc reference, including trait implementations.