All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rust.configuration.mustache Maven / Gradle / Ivy

There is a newer version: 3.0.0-rc1
Show newest version
{{>partial_header}}
use hyper;

pub struct Configuration {
  pub base_path: String,
  pub client: hyper::client::Client,
}

impl Configuration {
  pub fn new(client: hyper::client::Client) -> Configuration {
    Configuration {
      base_path: "{{{basePath}}}".to_owned(),
      client: client,
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy