pub struct DatasetMetadata {
pub id: usize,
pub dataset_code: String,
pub database_code: String,
pub name: String,
pub description: String,
pub refreshed_at: String,
pub newest_available_date: String,
pub oldest_available_date: String,
pub column_names: Vec<String>,
pub frequency: Frequency,
pub premium: bool,
pub database_id: usize,
}
Expand description
Hold the metadata associated to a specific dataset.
Fields§
§id: usize
Quandl’s numerical identifier for this dataset.
dataset_code: String
The dataset code for the returned dataset.
database_code: String
The code for the database this dataset belongs to.
name: String
The title of this dataset.
description: String
An explanation of the contents of the data in this dataset.
refreshed_at: String
The last time the data in this dataset and metadata of this dataset was refreshed.
newest_available_date: String
The most recent date of all available data points in this dataset.
oldest_available_date: String
The earliest date of all available data points in this dataset.
column_names: Vec<String>
The titles for each column of data in this datset.
frequency: Frequency
How often each data point in the resulting dataset is returned.
Whether or not this is a dataset from a premium database.
database_id: usize
Quandl’s numerical identifier for the database containing this dataset.
Trait Implementations§
Source§impl ApiCall<DatasetMetadata> for DatasetMetadataQuery
impl ApiCall<DatasetMetadata> for DatasetMetadataQuery
Source§fn send(&self) -> Result<DatasetMetadata>
fn send(&self) -> Result<DatasetMetadata>
Submit a request to the Quandl’s API and return a parsed object representing the data
received in a Rust-friendly format.
Source§fn fmt_prefix(&self) -> Option<String>
fn fmt_prefix(&self) -> Option<String>
If applicable, returns the string that would be appended between the
QUANDL_API_URL
and
the ‘?’ character in a query URL.Source§fn fmt_arguments(&self) -> Option<String>
fn fmt_arguments(&self) -> Option<String>
If applicable, returns the string that would be appended after the ‘?’ character in a query
URL.
Source§impl Clone for DatasetMetadata
impl Clone for DatasetMetadata
Source§fn clone(&self) -> DatasetMetadata
fn clone(&self) -> DatasetMetadata
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DatasetMetadata
impl Debug for DatasetMetadata
Source§impl<'de> Deserialize<'de> for DatasetMetadata
impl<'de> Deserialize<'de> for DatasetMetadata
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
Source§impl PartialEq for DatasetMetadata
impl PartialEq for DatasetMetadata
Source§impl Serialize for DatasetMetadata
impl Serialize for DatasetMetadata
impl StructuralPartialEq for DatasetMetadata
Auto Trait Implementations§
impl Freeze for DatasetMetadata
impl RefUnwindSafe for DatasetMetadata
impl Send for DatasetMetadata
impl Sync for DatasetMetadata
impl Unpin for DatasetMetadata
impl UnwindSafe for DatasetMetadata
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