#[non_exhaustive]pub enum OrderBy {
SearchRank,
SeriesId,
Title,
Units,
Frequency,
SeasonalAdjustment,
Popularity,
GroupPopularity,
LastUpdated,
ObservationStart,
ObservationEnd,
}Expand description
Field to order series/search results by (the order_by request
parameter). Request-only, so it carries query_code
and is #[non_exhaustive] but has no Other variant.
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.
SearchRank
Full-text search relevance (search_rank, FRED’s default for a
full-text search).
SeriesId
Series identifier (series_id).
Title
Series title (title).
Units
Units description (units).
Frequency
Native frequency (frequency).
SeasonalAdjustment
Seasonal adjustment (seasonal_adjustment).
Popularity
Popularity score (popularity).
GroupPopularity
Group popularity score (group_popularity).
LastUpdated
When the series was last updated (last_updated).
ObservationStart
First observation date (observation_start).
ObservationEnd
Last observation date (observation_end).
Implementations§
Trait Implementations§
impl Copy for OrderBy
impl Eq for OrderBy
impl StructuralPartialEq for OrderBy
Auto Trait Implementations§
impl Freeze for OrderBy
impl RefUnwindSafe for OrderBy
impl Send for OrderBy
impl Sync for OrderBy
impl Unpin for OrderBy
impl UnsafeUnpin for OrderBy
impl UnwindSafe for OrderBy
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