pub struct Element {
pub element_id: usize,
pub release_id: usize,
pub series_id: Option<String>,
pub parent_id: Option<usize>,
pub line: Option<String>,
pub etype: String,
pub name: String,
pub level: String,
pub children: Vec<Element>,
}Expand description
Data structure containing infomation about a particular release table element
https://research.stlouisfed.org/docs/api/fred/release_tables.html
Fields§
§element_id: usizeThe element ID number
release_id: usizeThe release ID number
series_id: Option<String>The series name
parent_id: Option<usize>The parent element ID number
line: Option<String>The table line number
etype: StringThe element type
name: StringThe element name
level: StringThe element nesting level
children: Vec<Element>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Element
impl<'de> Deserialize<'de> for Element
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
Auto Trait Implementations§
impl Freeze for Element
impl RefUnwindSafe for Element
impl Send for Element
impl Sync for Element
impl Unpin for Element
impl UnwindSafe for Element
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