Trait quandl_v3::prelude::ApiCall [] [src]

pub trait ApiCall<T: DeserializeOwned + Clone>: Has<ApiArguments> {
    fn url(&self) -> String { ... }
    fn encoded_data(&self) -> Result<Vec<u8>> { ... }
    fn send(&self) -> Result<T> { ... }
    fn fmt_prefix(&self) -> Option<String> { ... }
    fn fmt_arguments(&self) -> Option<String> { ... }
}

Trait allowing implementers to submit a request through the Quandl API.

This trait is implemented by all queries.

Provided Methods

Returns the URL that will be used to submit the query through Quandl's API.

Bypass the parsers and retrieve the byte stream received from Quandl directly.

Submit a request to the Quandl's API and return a parsed object representing the data received in a Rust-friendly format.

If applicable, returns the string that would be appended between the QUANDL_API_URL and the '?' character in a query URL.

If applicable, returns the string that would be appended after the '?' character in a query URL.

Implementors