An open API service indexing awesome lists of open source software.

https://github.com/cundd/rest-adapter-rust

Adapter to interface with REST via Rust
https://github.com/cundd/rest-adapter-rust

rest rest-client restful-api rust typo3

Last synced: 11 months ago
JSON representation

Adapter to interface with REST via Rust

Awesome Lists containing this project

README

          

# Rust Adapter for [Cundd Rest](https://rest.corn.rest)

```rust
use rest_adapter::*;
use serde::Deserialize;

#[derive(Deserialize)]
struct Person {
name: String
}

fn run() -> Result> {
let config = AdapterConfiguration::from_url("http://base.url.tld/rest/")?;
let rd = RestAdapter::new(config);

rd.find_all::("Vendor-RealEstate-Person")
}
```