Trait dvb::prelude::APIEndPoint
[−]
[src]
pub trait APIEndPoint { fn url(&self) -> String; fn get_raw(&self) -> Result<String> { ... } fn get(&self) -> Result<JsonValue> { ... } }
Commonalities of all API endpoints.
Required Methods
Provided Methods
fn get_raw(&self) -> Result<String>
Returns the content of the API endpoints response.
fn get(&self) -> Result<JsonValue>
Returns the content of the API endpoints response parsed as JsonValue
.