Struct databento::historical::metadata::GetQueryParams
source · pub struct GetQueryParams {
pub dataset: String,
pub symbols: Symbols,
pub schema: Schema,
pub date_time_range: DateTimeRange,
pub stype_in: SType,
pub limit: Option<NonZeroU64>,
}
Available on crate feature
historical
only.Expand description
The parameters for several metadata requests.
Fields§
§dataset: String
The dataset code.
symbols: Symbols
The symbols to filter for.
schema: Schema
The data record schema.
date_time_range: DateTimeRange
The request time range.
stype_in: SType
The symbology type of the input symbols
. Defaults to
RawSymbol
.
limit: Option<NonZeroU64>
The optional maximum number of records to return. Defaults to no limit.
Implementations§
source§impl GetQueryParams
impl GetQueryParams
sourcepub fn builder() -> GetQueryParamsBuilder<((), (), (), (), (), ())>
pub fn builder() -> GetQueryParamsBuilder<((), (), (), (), (), ())>
Create a builder for building GetQueryParams
.
On the builder, call .dataset(...)
, .symbols(...)
, .schema(...)
, .date_time_range(...)
, .stype_in(...)
(optional), .limit(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of GetQueryParams
.
Trait Implementations§
source§impl Clone for GetQueryParams
impl Clone for GetQueryParams
source§fn clone(&self) -> GetQueryParams
fn clone(&self) -> GetQueryParams
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 GetQueryParams
impl Debug for GetQueryParams
source§impl PartialEq for GetQueryParams
impl PartialEq for GetQueryParams
source§fn eq(&self, other: &GetQueryParams) -> bool
fn eq(&self, other: &GetQueryParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GetQueryParams
impl StructuralPartialEq for GetQueryParams
Auto Trait Implementations§
impl Freeze for GetQueryParams
impl RefUnwindSafe for GetQueryParams
impl Send for GetQueryParams
impl Sync for GetQueryParams
impl Unpin for GetQueryParams
impl UnwindSafe for GetQueryParams
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.