Trait quandl_v3::prelude::DataParameters [] [src]

pub trait DataParameters: HasMut<DataArguments> {
    fn rows(&mut self, n: usize) -> &mut Self { ... }
    fn limit(&mut self, n: usize) -> &mut Self { ... }
    fn order(&mut self, order: Order) -> &mut Self { ... }
    fn collapse(&mut self, collapse: Frequency) -> &mut Self { ... }
    fn transform(&mut self, transform: Transform) -> &mut Self { ... }
    fn end_date(&mut self, year: u16, month: u8, day: u8) -> &mut Self { ... }
    fn start_date(&mut self, year: u16, month: u8, day: u8) -> &mut Self { ... }
    fn column_index(&mut self, index: usize) -> &mut Self { ... }
    fn fmt(&self) -> Option<String> { ... }
}

Data parameters implemented by data fetching queries.

Provided Methods

Specify the number of rows of data to be returned by this query.

Note that this is identical to the limit parameter.

Specify the number of rows of data to be returned by this query.

Note that this is identical to the rows parameter.

Specify the ordering of the data.

More specifically, it can be precised whether the data should be returned with dates in an ascending (Order::asc) or descending (Order::desc) order.

Specify whether the data should be returned at a smaller frequency than avaiable.

Specify how the data should be transformed by Quandl's server before being returned.

Specify the oldest data point to be returned.

Note that if the date makes no sense, the error will be reported by the Quandl server (wasting one api call in the process).

Specify the earliest data point to be returned.

Note that if the date makes no sense, the error will be reported by the Quandl server (wasting one api call in the process).

Specify which column to be returned.

Note that the column 0, i.e. the 'date' column, is always returned.

Return a string which will be appended to the query's URL given that at least one of the data parameters has been specified.

Implementors