pub struct GetEarningsEstimateParams {
pub symbol: Option<String>,
pub figi: Option<String>,
pub isin: Option<String>,
pub cusip: Option<String>,
pub country: Option<String>,
pub exchange: Option<String>,
}Expand description
struct for passing parameters to the method get_earnings_estimate
Fields§
§symbol: Option<String>Filter by symbol
figi: Option<String>The FIGI of an instrument for which data is requested
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
country: Option<String>The country where the instrument is traded, e.g., United States or US
exchange: Option<String>Exchange where instrument is traded
Implementations§
Source§impl GetEarningsEstimateParams
impl GetEarningsEstimateParams
Sourcepub fn builder() -> GetEarningsEstimateParamsBuilder
pub fn builder() -> GetEarningsEstimateParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetEarningsEstimateParams
impl Clone for GetEarningsEstimateParams
Source§fn clone(&self) -> GetEarningsEstimateParams
fn clone(&self) -> GetEarningsEstimateParams
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 GetEarningsEstimateParams
impl Debug for GetEarningsEstimateParams
Source§impl Default for GetEarningsEstimateParams
impl Default for GetEarningsEstimateParams
Source§fn default() -> GetEarningsEstimateParams
fn default() -> GetEarningsEstimateParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetEarningsEstimateParams
impl<'de> Deserialize<'de> for GetEarningsEstimateParams
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 GetEarningsEstimateParams
impl RefUnwindSafe for GetEarningsEstimateParams
impl Send for GetEarningsEstimateParams
impl Sync for GetEarningsEstimateParams
impl Unpin for GetEarningsEstimateParams
impl UnwindSafe for GetEarningsEstimateParams
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