pub struct Response {
pub realtime_start: String,
pub realtime_end: String,
pub order_by: Option<String>,
pub sort_order: Option<String>,
pub count: Option<usize>,
pub offset: Option<usize>,
pub limit: Option<usize>,
pub sources: Vec<Source>,
}
Expand description
Response data structure for the fred/source endpoint
[https://research.stlouisfed.org/docs/api/fred/source.html] (https://research.stlouisfed.org/docs/api/fred/source.html)
Fields§
§realtime_start: String
The Real Time start date for the request
realtime_end: String
The Real Time end data for the request
order_by: Option<String>
How the results are ordered
sort_order: Option<String>
§count: Option<usize>
Number of results returned
offset: Option<usize>
???
limit: Option<usize>
Maximum number of results to return
sources: Vec<Source>
Series returned by the search
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
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
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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