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
- Host: GitHub
- URL: https://github.com/cundd/rest-adapter-rust
- Owner: cundd
- Created: 2019-08-15T19:09:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-22T14:57:30.000Z (almost 7 years ago)
- Last Synced: 2025-03-14T22:31:21.446Z (over 1 year ago)
- Topics: rest, rest-client, restful-api, rust, typo3
- Language: Rust
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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")
}
```