pub struct GetEarliestTimestampParams {
pub interval: String,
pub symbol: Option<String>,
pub figi: Option<String>,
pub isin: Option<String>,
pub cusip: Option<String>,
pub exchange: Option<String>,
pub mic_code: Option<String>,
pub timezone: Option<String>,
}Expand description
struct for passing parameters to the method get_earliest_timestamp
Fields§
§interval: StringInterval between two consecutive points in time series.
symbol: Option<String>Symbol ticker of the instrument.
figi: Option<String>Filter by financial instrument global identifier (FIGI).
isin: Option<String>Filter by international securities identification number (ISIN)
cusip: Option<String>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
exchange: Option<String>Exchange where instrument is traded.
mic_code: Option<String>Market Identifier Code (MIC) under ISO 10383 standard.
timezone: Option<String>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.
Implementations§
Source§impl GetEarliestTimestampParams
impl GetEarliestTimestampParams
Sourcepub fn builder() -> GetEarliestTimestampParamsBuilder
pub fn builder() -> GetEarliestTimestampParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetEarliestTimestampParams
impl Clone for GetEarliestTimestampParams
Source§fn clone(&self) -> GetEarliestTimestampParams
fn clone(&self) -> GetEarliestTimestampParams
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 Debug for GetEarliestTimestampParams
impl Debug for GetEarliestTimestampParams
Source§impl Default for GetEarliestTimestampParams
impl Default for GetEarliestTimestampParams
Source§fn default() -> GetEarliestTimestampParams
fn default() -> GetEarliestTimestampParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetEarliestTimestampParams
impl<'de> Deserialize<'de> for GetEarliestTimestampParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetEarliestTimestampParams
impl RefUnwindSafe for GetEarliestTimestampParams
impl Send for GetEarliestTimestampParams
impl Sync for GetEarliestTimestampParams
impl Unpin for GetEarliestTimestampParams
impl UnwindSafe for GetEarliestTimestampParams
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