readme-api 0.1.0

Readme client, generated from the OpenAPI spec.
Documentation
//! [`ReadmeClient`](struct.ReadmeClient.html) is the main entry point for this library.
//!
//! Library created with [`libninja`](https://www.libninja.com).
#![allow(non_camel_case_types)]
pub mod model;
pub mod request_model;
use crate::model::*;

pub struct ReadmeClient {
    pub(crate) client: httpclient::Client,
}
impl ReadmeClient {}
impl ReadmeClient {
    pub fn new(url: &str) -> Self {
        let client = httpclient::Client::new(Some(url.to_string()));
        ReadmeClient { client }
    }
    pub fn with_middleware<M: httpclient::Middleware + 'static>(
        mut self,
        middleware: M,
    ) -> Self {
        self.client = self.client.with_middleware(middleware);
        self
    }
}