pub struct Tag {
pub name: String,
pub group_id: String,
pub notes: Option<String>,
pub popularity: u32,
pub series_count: u64,
}Expand description
A FRED tag — a keyword used to classify series (e.g. gdp, quarterly,
nsa), from the fred/tags, fred/series/tags, and related endpoints.
Tags are identified by name; there is no numeric id.
Fields§
§name: StringThe tag’s name, e.g. "gdp".
group_id: StringThe id of the group the tag belongs to (e.g. "gen" general, "geo"
geography, "freq" frequency, "seas" seasonal adjustment).
notes: Option<String>Descriptive notes, when FRED provides them (may be absent or null).
popularity: u32Relative popularity, 0–100.
series_count: u64Number of series carrying this tag.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin for Tag
impl UnwindSafe for Tag
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