Struct alphavantage::time_series::TimeSeries [−][src]
pub struct TimeSeries { /* fields omitted */ }
Represents a time series for a given symbol.
Methods
impl TimeSeries
[src]
impl TimeSeries
pub fn entries(&self) -> Vec<(&String, &Entry)>
[src]
pub fn entries(&self) -> Vec<(&String, &Entry)>
Returns the entries in the time series sorted by ascending date. Each item corresponds to a pair of the date and corresponding entry.
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
Returns the length of the time series.
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
Returns true
if the time series is empty.
Trait Implementations
impl Debug for TimeSeries
[src]
impl Debug for TimeSeries
Auto Trait Implementations
impl Send for TimeSeries
impl Send for TimeSeries
impl Sync for TimeSeries
impl Sync for TimeSeries