pub struct GetRangeParams {
pub start: OffsetDateTime,
pub end: Option<OffsetDateTime>,
pub index: Index,
pub symbols: Symbols,
pub stype_in: SType,
pub countries: Vec<Country>,
pub security_types: Vec<SecurityType>,
}Available on crate feature
historical only.Expand description
The parameters for SecurityMasterClient::get_range(). Use
GetRangeParams::builder() to get a builder type with all the preset defaults.
Fields§
§start: OffsetDateTimeThe inclusive start time of the request range. Filters on index.
end: Option<OffsetDateTime>The exclusive end time of the request range. Filters on index.
If None, all data after start will be included in the response.
index: IndexThe timestamp to use for filtering.
symbols: SymbolsThe symbols to filter for.
stype_in: STypeThe symbology type of the input symbols. Defaults to
RawSymbol.
countries: Vec<Country>An optional list of country codes to filter for. By default all countries are included.
security_types: Vec<SecurityType>An optional list of security types to filter for. By default all security types are included.
Implementations§
Source§impl GetRangeParams
impl GetRangeParams
Sourcepub fn builder() -> GetRangeParamsBuilder
pub fn builder() -> GetRangeParamsBuilder
Create an instance of GetRangeParams using the builder syntax
Trait Implementations§
Source§impl Clone for GetRangeParams
impl Clone for GetRangeParams
Source§fn clone(&self) -> GetRangeParams
fn clone(&self) -> GetRangeParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetRangeParams
impl Debug for GetRangeParams
Source§impl PartialEq for GetRangeParams
impl PartialEq for GetRangeParams
Source§fn eq(&self, other: &GetRangeParams) -> bool
fn eq(&self, other: &GetRangeParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GetRangeParams
impl StructuralPartialEq for GetRangeParams
Auto Trait Implementations§
impl Freeze for GetRangeParams
impl RefUnwindSafe for GetRangeParams
impl Send for GetRangeParams
impl Sync for GetRangeParams
impl Unpin for GetRangeParams
impl UnsafeUnpin for GetRangeParams
impl UnwindSafe for GetRangeParams
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