pub struct ReleaseId(/* private fields */);Expand description
A FRED release identifier — the numeric id of a data release (a publication such as “Gross Domestic Product”).
A Copy newtype over u32, mirroring CategoryId; #[serde(transparent)]
carries it as the bare integer FRED sends (ADR-0005).
Implementations§
Trait Implementations§
impl Copy for ReleaseId
Source§impl<'de> Deserialize<'de> for ReleaseId
impl<'de> Deserialize<'de> for ReleaseId
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 ReleaseId
impl StructuralPartialEq for ReleaseId
Auto Trait Implementations§
impl Freeze for ReleaseId
impl RefUnwindSafe for ReleaseId
impl Send for ReleaseId
impl Sync for ReleaseId
impl Unpin for ReleaseId
impl UnsafeUnpin for ReleaseId
impl UnwindSafe for ReleaseId
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