[−][src]Struct fred_rs::release::tables::Builder
Methods
impl Builder
[src]
pub fn new() -> Builder
[src]
Initializes a new release::tables::Builder that can be used to add commands to an API request
The builder does not do validity checking of the arguments nor does it check for duplicates.
use fred_rs::release::tables::Builder; // Create a new builder let mut builder = Builder::new(); // add arguments to the builder builder .include_observation_values();
pub fn element_id(&mut self, id: usize) -> &mut Builder
[src]
Add the element_id argument to the builder
Arguments
id
- The release table element id you would like to retrieve
https://research.stlouisfed.org/docs/api/fred/release_tables.html#element_id
pub fn include_observation_values(&mut self) -> &mut Builder
[src]
Use to indicate that observation values should be returned as well for applicable series
https://research.stlouisfed.org/docs/api/fred/release_tables.html#include_observation_values
pub fn observation_date(&mut self, date: &str) -> &mut Builder
[src]
Adds an observation date to be returned with the release table
Arguments
date
- date formatted as YYYY-MM-DD
https://research.stlouisfed.org/docs/api/fred/release_tables.html#observation_date
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,