pub struct Release {
pub id: ReleaseId,
pub name: String,
pub press_release: bool,
pub link: Option<String>,
}Expand description
A FRED data release — a publication such as “Gross Domestic Product”, from
the fred/release and fred/releases endpoints.
Fields§
§id: ReleaseIdThe release’s identifier.
name: StringHuman-readable name, e.g. "Gross Domestic Product".
press_release: boolWhether the release is accompanied by a press release.
link: Option<String>A link to the release on the source’s site, when FRED provides one.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Release
impl<'de> Deserialize<'de> for Release
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 Release
impl StructuralPartialEq for Release
Auto Trait Implementations§
impl Freeze for Release
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnsafeUnpin for Release
impl UnwindSafe for Release
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