pub trait Api {
const ACCEPT: &'static str;
const BASE_URI: &'static str = "https://api.github.com";
fn api(&self) -> String;
}
Expand description
Abstraction of GitHub REST API.
pub trait Api {
const ACCEPT: &'static str;
const BASE_URI: &'static str = "https://api.github.com";
fn api(&self) -> String;
}
Abstraction of GitHub REST API.