[][src]Struct fred_rs::category::children::Builder

pub struct Builder { /* fields omitted */ }

Methods

impl Builder[src]

pub fn new() -> Builder[src]

Initializes a new category::children::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::category::children::Builder;
// Create a new builder
let mut builder = Builder::new();
// add arguments to the builder
builder
    .realtime_start("1900-01-01")
    .realtime_end("2000-01-01");

pub fn realtime_start(&mut self, start_date: &str) -> &mut Builder[src]

Adds a realtime_start argument to the builder

Arguments

  • start_date - date formatted as YYYY-MM-DD

https://research.stlouisfed.org/docs/api/fred/category_children.html#realtime_start

pub fn realtime_end(&mut self, end_date: &str) -> &mut Builder[src]

Adds a realtime_end argument to the builder

Arguments

  • end_date - date formatted as YYYY-MM-DD

https://research.stlouisfed.org/docs/api/fred/category_children.html#realtime_end

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.