pub struct GetRecommendationsParamsBuilder { /* private fields */ }Expand description
Builder for GetRecommendationsParams
Implementations§
Source§impl GetRecommendationsParamsBuilder
impl GetRecommendationsParamsBuilder
Sourcepub fn figi(self, figi: impl Into<String>) -> Self
pub fn figi(self, figi: impl Into<String>) -> Self
The FIGI of an instrument for which data is requested
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 country(self, country: impl Into<String>) -> Self
pub fn country(self, country: impl Into<String>) -> Self
The country where the instrument is traded, e.g., United States or US
Sourcepub fn exchange(self, exchange: impl Into<String>) -> Self
pub fn exchange(self, exchange: impl Into<String>) -> Self
The exchange name where the instrument is traded, e.g., Nasdaq, NSE.
Sourcepub fn build(self) -> GetRecommendationsParams
pub fn build(self) -> GetRecommendationsParams
Build the parameter struct
Trait Implementations§
Source§impl Clone for GetRecommendationsParamsBuilder
impl Clone for GetRecommendationsParamsBuilder
Source§fn clone(&self) -> GetRecommendationsParamsBuilder
fn clone(&self) -> GetRecommendationsParamsBuilder
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 GetRecommendationsParamsBuilder
impl Default for GetRecommendationsParamsBuilder
Source§fn default() -> GetRecommendationsParamsBuilder
fn default() -> GetRecommendationsParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetRecommendationsParamsBuilder
impl RefUnwindSafe for GetRecommendationsParamsBuilder
impl Send for GetRecommendationsParamsBuilder
impl Sync for GetRecommendationsParamsBuilder
impl Unpin for GetRecommendationsParamsBuilder
impl UnwindSafe for GetRecommendationsParamsBuilder
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