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

pub enum Units {
    LIN,
    CHG,
    CH1,
    PCH,
    PC1,
    PCA,
    CCH,
    CCA,
    LOG,
}

Data transformation options for the fred/series/observation endpoint

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

Variants

LIN

Linear: no transform applied (default)

CHG

Change: returns the period over period change of the observation

CH1

1 Year Change: Returns the YoY change of the observation

PCH

Percent Change: Returns the period over period percent change of the observation

PC1

1 Year Percent Change: Returns the YoY percent change of the observation

PCA

Compounded Annual Rate of Change

CCH

Continuously Compounded Rate of Change

CCA

Continuously Compounded Annual Rate of Change

LOG

Natual Log: Returns the natural logarithm of the observation

Auto Trait Implementations

impl RefUnwindSafe for Units

impl Send for Units

impl Sync for Units

impl Unpin for Units

impl UnwindSafe for Units

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.