Struct nexus_rs::client::Client
[−]
[src]
pub struct Client { /* fields omitted */ }
Methods
impl Client
[src]
fn from_url(url: Url) -> Result<Self, String>
fn get_absolute_raw<'a>(&'a self,
url: &str)
-> Result<Response<'a, HyperResponse>, String>
url: &str)
-> Result<Response<'a, HyperResponse>, String>
fn get_absolute<'a, T: Deserialize>(&'a self,
url: &str)
-> Result<Response<'a, T>, String>
url: &str)
-> Result<Response<'a, T>, String>
fn get_relative_raw<'a>(&'a self,
path: &str)
-> Result<Response<'a, HyperResponse>, String>
path: &str)
-> Result<Response<'a, HyperResponse>, String>
fn get_relative<'a, T: Deserialize>(&'a self,
path: &str)
-> Result<Response<'a, T>, String>
path: &str)
-> Result<Response<'a, T>, String>
fn all_repositories<'a>(&'a self)
-> Result<Vec<Response<'a, RepositorySummary>>, String>
-> Result<Vec<Response<'a, RepositorySummary>>, String>