pub struct GetEarliestTimestampParamsBuilder { /* private fields */ }Expand description
Builder for GetEarliestTimestampParams
Implementations§
Source§impl GetEarliestTimestampParamsBuilder
impl GetEarliestTimestampParamsBuilder
Sourcepub fn interval(self, interval: impl Into<String>) -> Self
pub fn interval(self, interval: impl Into<String>) -> Self
Interval between two consecutive points in time series.
Sourcepub fn figi(self, figi: impl Into<String>) -> Self
pub fn figi(self, figi: impl Into<String>) -> Self
Filter by financial instrument global identifier (FIGI).
Sourcepub fn isin(self, isin: impl Into<String>) -> Self
pub fn isin(self, isin: impl Into<String>) -> Self
Filter by international securities identification number (ISIN)
Sourcepub fn cusip(self, cusip: impl Into<String>) -> Self
pub fn cusip(self, cusip: impl Into<String>) -> Self
The CUSIP of an instrument for which data is requested. CUSIP access is activating in the <a href="https://twelvedata.com/account/add-ons">Add-ons section
Sourcepub fn exchange(self, exchange: impl Into<String>) -> Self
pub fn exchange(self, exchange: impl Into<String>) -> Self
Exchange where instrument is traded.
Sourcepub fn mic_code(self, mic_code: impl Into<String>) -> Self
pub fn mic_code(self, mic_code: impl Into<String>) -> Self
Market Identifier Code (MIC) under ISO 10383 standard.
Sourcepub fn timezone(self, timezone: impl Into<String>) -> Self
pub fn timezone(self, timezone: impl Into<String>) -> Self
Timezone at which output datetime will be displayed. Supports:
- 1.
Exchangefor local exchange time - 2.
UTCfor datetime at universal UTC standard - 3. Timezone name according to the IANA Time Zone Database. E.g.
America/New_York,Asia/Singapore. Full list of timezones can be found <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" target="blank">here.
Sourcepub fn build(self) -> GetEarliestTimestampParams
pub fn build(self) -> GetEarliestTimestampParams
Build the parameter struct
Trait Implementations§
Source§impl Clone for GetEarliestTimestampParamsBuilder
impl Clone for GetEarliestTimestampParamsBuilder
Source§fn clone(&self) -> GetEarliestTimestampParamsBuilder
fn clone(&self) -> GetEarliestTimestampParamsBuilder
Returns a duplicate 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 Default for GetEarliestTimestampParamsBuilder
impl Default for GetEarliestTimestampParamsBuilder
Source§fn default() -> GetEarliestTimestampParamsBuilder
fn default() -> GetEarliestTimestampParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetEarliestTimestampParamsBuilder
impl RefUnwindSafe for GetEarliestTimestampParamsBuilder
impl Send for GetEarliestTimestampParamsBuilder
impl Sync for GetEarliestTimestampParamsBuilder
impl Unpin for GetEarliestTimestampParamsBuilder
impl UnwindSafe for GetEarliestTimestampParamsBuilder
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