#[non_exhaustive]pub enum UpdatesFilter {
All,
Macro,
Regional,
}Expand description
Which series series/updates returns, by FRED’s filter_value parameter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All
All updated series (all, FRED’s default).
Macro
Macroeconomic series only (macro).
Regional
Regional series only (regional).
Implementations§
Source§impl UpdatesFilter
impl UpdatesFilter
Sourcepub fn query_code(self) -> &'static str
pub fn query_code(self) -> &'static str
The FRED query code for this filter.
Trait Implementations§
Source§impl Clone for UpdatesFilter
impl Clone for UpdatesFilter
Source§fn clone(&self) -> UpdatesFilter
fn clone(&self) -> UpdatesFilter
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 moreimpl Copy for UpdatesFilter
Source§impl Debug for UpdatesFilter
impl Debug for UpdatesFilter
impl Eq for UpdatesFilter
Source§impl PartialEq for UpdatesFilter
impl PartialEq for UpdatesFilter
Source§fn eq(&self, other: &UpdatesFilter) -> bool
fn eq(&self, other: &UpdatesFilter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdatesFilter
Auto Trait Implementations§
impl Freeze for UpdatesFilter
impl RefUnwindSafe for UpdatesFilter
impl Send for UpdatesFilter
impl Sync for UpdatesFilter
impl Unpin for UpdatesFilter
impl UnsafeUnpin for UpdatesFilter
impl UnwindSafe for UpdatesFilter
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