pub enum AggregationMethod {
AVG,
SUM,
EOP,
}Expand description
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§
impl Freeze for AggregationMethod
impl RefUnwindSafe for AggregationMethod
impl Send for AggregationMethod
impl Sync for AggregationMethod
impl Unpin for AggregationMethod
impl UnwindSafe for AggregationMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more