Struct databento::historical::symbology::ResolveParams
source · pub struct ResolveParams {
pub dataset: String,
pub symbols: Symbols,
pub stype_in: SType,
pub stype_out: SType,
pub date_range: DateRange,
}
Available on crate feature
historical
only.Expand description
The parameters for SymbologyClient::resolve()
. Use ResolveParams::builder()
to get a builder type with all the preset defaults.
Fields§
§dataset: String
The dataset code.
symbols: Symbols
The symbols to resolve.
stype_in: SType
The symbology type of the input symbols
. Defaults to
RawSymbol
.
stype_out: SType
The symbology type of the output symbols
. Defaults to
InstrumentId
.
date_range: DateRange
The date range of the resolution.
Implementations§
source§impl ResolveParams
impl ResolveParams
sourcepub fn builder() -> ResolveParamsBuilder<((), (), (), (), ())>
pub fn builder() -> ResolveParamsBuilder<((), (), (), (), ())>
Create a builder for building ResolveParams
.
On the builder, call .dataset(...)
, .symbols(...)
, .stype_in(...)
(optional), .stype_out(...)
(optional), .date_range(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ResolveParams
.
Trait Implementations§
source§impl Clone for ResolveParams
impl Clone for ResolveParams
source§fn clone(&self) -> ResolveParams
fn clone(&self) -> ResolveParams
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 ResolveParams
impl Debug for ResolveParams
source§impl PartialEq for ResolveParams
impl PartialEq for ResolveParams
source§fn eq(&self, other: &ResolveParams) -> bool
fn eq(&self, other: &ResolveParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ResolveParams
impl StructuralPartialEq for ResolveParams
Auto Trait Implementations§
impl Freeze for ResolveParams
impl RefUnwindSafe for ResolveParams
impl Send for ResolveParams
impl Sync for ResolveParams
impl Unpin for ResolveParams
impl UnwindSafe for ResolveParams
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.