pub struct GetStatisticsParams {
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 country: Option<String>,
}Expand description
struct for passing parameters to the method get_statistics
Fields§
§symbol: Option<String>Symbol ticker of instrument. For preffered stocks use dot(.) delimiter. E.g. BRK.A or BRK.B will be correct
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
country: Option<String>Country where instrument is traded, e.g., United States or US
Implementations§
Source§impl GetStatisticsParams
impl GetStatisticsParams
Sourcepub fn builder() -> GetStatisticsParamsBuilder
pub fn builder() -> GetStatisticsParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetStatisticsParams
impl Clone for GetStatisticsParams
Source§fn clone(&self) -> GetStatisticsParams
fn clone(&self) -> GetStatisticsParams
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 GetStatisticsParams
impl Debug for GetStatisticsParams
Source§impl Default for GetStatisticsParams
impl Default for GetStatisticsParams
Source§fn default() -> GetStatisticsParams
fn default() -> GetStatisticsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetStatisticsParams
impl<'de> Deserialize<'de> for GetStatisticsParams
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 GetStatisticsParams
impl RefUnwindSafe for GetStatisticsParams
impl Send for GetStatisticsParams
impl Sync for GetStatisticsParams
impl Unpin for GetStatisticsParams
impl UnwindSafe for GetStatisticsParams
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