pub struct Series {
pub id: SeriesId,
pub title: String,
pub observation_start: NaiveDate,
pub observation_end: NaiveDate,
pub frequency: Frequency,
pub seasonal_adjustment: SeasonalAdjustment,
pub units: String,
pub popularity: u32,
pub notes: Option<String>,
pub last_updated: String,
}Expand description
Metadata describing a FRED series (the fred/series endpoint).
This series metadata endpoint’s own ALFRED fields (realtime_start /
realtime_end) are still ignored on the wire (ADR-0005); point-in-time
observations are supported via Observation and
ObservationsRequest::realtime
(ADR-0024). last_updated is kept as FRED’s raw string for now — FRED
encodes it with a non-standard timezone offset (e.g. 2024-03-28 07:56:03-05);
a typed datetime is a later refinement.
Fields§
§id: SeriesIdThe series identifier.
title: StringHuman-readable title, e.g. "Real Gross National Product".
observation_start: NaiveDateDate of the earliest available observation.
observation_end: NaiveDateDate of the latest available observation.
frequency: FrequencyThe series’ native reporting frequency.
seasonal_adjustment: SeasonalAdjustmentWhether/how the series is seasonally adjusted.
units: StringFree-form units description, e.g. "Billions of Chained 2017 Dollars".
This is descriptive text, not the closed-vocabulary units transform
used in observation requests (modelled separately, later).
popularity: u32FRED popularity score (0–100).
notes: Option<String>Editorial notes, when present.
last_updated: StringWhen FRED last updated the series, as FRED’s raw timestamp string.