Expand description
A crate providing all traits required for implementing a complete OParl 1.1 service.
The idea is to implement this trait for handing out the information to a web service
behind which the OParlService is operated.
The web service needs to implement the endpoints according to the OParl 1.1 specification,
and forward them to the instantiated OParlService. The OParlService implementation
could e.g. be held by app data attached to the web app, a pattern seen frequently in Rust
web server implementations such as axum.
Structs§
- OParl
Service Handle - A thread-safe rw-locked handle holding an
OParlService. - Pagination
- The page request to be used when querying collections of data.
- Service
Error - An error returned from service endpoints when something goes wrong
Traits§
- OParl
Service - A trait that can be implemented to provide an OParl service through a web server.
- Service
Ids - A trait defining the ids for all types to be used in URLs.