Type Alias databento::historical::metadata::GetRecordCountParams
source · pub type GetRecordCountParams = GetQueryParams;
Available on crate feature
historical
only.Expand description
The parameters for MetadataClient::get_record_count()
. Use
GetRecordCountParams::builder()
to get a builder type with all the preset
defaults.
Aliased Type§
struct GetRecordCountParams {
pub dataset: String,
pub symbols: Symbols,
pub schema: Schema,
pub date_time_range: DateTimeRange,
pub stype_in: SType,
pub limit: Option<NonZero<u64>>,
}
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<NonZero<u64>>
The optional maximum number of records to return. Defaults to no limit.