Documentation
Guides for rutmf: installing it, modelling TM Forum v5 resources, calling the Open APIs, serving one, and testing against an in-process TMF server.
These guides cover the crate from both ends: calling a TM Forum Open API and serving one. They assume you know what a TMF Open API is, but not how this crate models it.
For per-item signatures and every type in the model, see the API reference on docs.rs.
Getting started
Install rutmf, pick the feature flags you need, build your first TM Forum v5 resource and make your first API call.
The domain model
How rutmf turns TM Forum v5 schemas into Rust types: the read/create/update triple, round-trip fidelity, typed references, decimal money and @type polymorphism.
Calling an API
TMF630 queries and filters, the four PATCH flavours, pagination as a stream, retries and Retry-After, OAuth2 auth, asynchronous 202 writes and typed hub events.
Serving an API
Implement a conformant TM Forum API in Rust: the ResourceStore trait, TMF630 semantics for free, ETag/If-Match concurrency control, hub notifications and pluggable identifiers.
Testing
Write tests against a real TM Forum server without a socket: MockTmfServer implements TMF630 filtering, sorting, paging, projection and both patch formats in process.
API coverage
Which TM Forum Open APIs rutmf implements, at which v5 version, and which are deliberately absent because TM Forum has not published a v5.