pub struct SeriesGroupId(/* private fields */);Expand description
A GeoFRED / Maps series-group identifier, e.g. 1223 — the group of
regional series a geofred/regional/data request pulls a cross-section from.
A newtype over String: FRED transmits it as a string ("series_group": "1223") even though it reads as a number, so — unlike the numeric
CategoryId/ReleaseId u32 newtypes — it stays string-backed to match
the wire (ADR-0005). Construction does no validation.
Implementations§
Trait Implementations§
Source§impl Clone for SeriesGroupId
impl Clone for SeriesGroupId
Source§fn clone(&self) -> SeriesGroupId
fn clone(&self) -> SeriesGroupId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SeriesGroupId
impl Debug for SeriesGroupId
Source§impl<'de> Deserialize<'de> for SeriesGroupId
impl<'de> Deserialize<'de> for SeriesGroupId
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
Source§impl Display for SeriesGroupId
impl Display for SeriesGroupId
impl Eq for SeriesGroupId
Source§impl From<&str> for SeriesGroupId
impl From<&str> for SeriesGroupId
Source§impl From<String> for SeriesGroupId
impl From<String> for SeriesGroupId
Source§impl Hash for SeriesGroupId
impl Hash for SeriesGroupId
Source§impl PartialEq for SeriesGroupId
impl PartialEq for SeriesGroupId
Source§fn eq(&self, other: &SeriesGroupId) -> bool
fn eq(&self, other: &SeriesGroupId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SeriesGroupId
impl Serialize for SeriesGroupId
impl StructuralPartialEq for SeriesGroupId
Auto Trait Implementations§
impl Freeze for SeriesGroupId
impl RefUnwindSafe for SeriesGroupId
impl Send for SeriesGroupId
impl Sync for SeriesGroupId
impl Unpin for SeriesGroupId
impl UnsafeUnpin for SeriesGroupId
impl UnwindSafe for SeriesGroupId
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