[][src]Enum fred_rs::series::observation::AggregationMethod

pub enum AggregationMethod {
    AVG,
    SUM,
    EOP,
}

Provides an aggregation method for frequency aggregation

This argument should be used in conjunction with the frequency argument if the default aggregation method (AVG) is not preferred.

https://research.stlouisfed.org/docs/api/fred/series_observations.html#aggregation_method

Variants

AVG

Average (default): intermediate datapoints are averaged to produce the aggregate

SUM

Sum: intermediate datapoints are summed to produce the aggregate

EOP

End of Period: The final result in the period is returned

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.