pub struct GetAnalystRatingsLightParams {
pub symbol: Option<String>,
pub figi: Option<String>,
pub isin: Option<String>,
pub cusip: Option<String>,
pub exchange: Option<String>,
pub rating_change: Option<String>,
pub outputsize: Option<i64>,
pub country: Option<String>,
}Expand description
struct for passing parameters to the method get_analyst_ratings_light
Fields§
§symbol: Option<String>Filter by symbol
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>Filter by exchange name
rating_change: Option<String>Filter by rating change action
outputsize: Option<i64>Number of records in response
country: Option<String>Filter by country name or alpha code, e.g., United States or US
Implementations§
Source§impl GetAnalystRatingsLightParams
impl GetAnalystRatingsLightParams
Sourcepub fn builder() -> GetAnalystRatingsLightParamsBuilder
pub fn builder() -> GetAnalystRatingsLightParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetAnalystRatingsLightParams
impl Clone for GetAnalystRatingsLightParams
Source§fn clone(&self) -> GetAnalystRatingsLightParams
fn clone(&self) -> GetAnalystRatingsLightParams
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 GetAnalystRatingsLightParams
impl Debug for GetAnalystRatingsLightParams
Source§impl Default for GetAnalystRatingsLightParams
impl Default for GetAnalystRatingsLightParams
Source§fn default() -> GetAnalystRatingsLightParams
fn default() -> GetAnalystRatingsLightParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetAnalystRatingsLightParams
impl<'de> Deserialize<'de> for GetAnalystRatingsLightParams
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 GetAnalystRatingsLightParams
impl RefUnwindSafe for GetAnalystRatingsLightParams
impl Send for GetAnalystRatingsLightParams
impl Sync for GetAnalystRatingsLightParams
impl Unpin for GetAnalystRatingsLightParams
impl UnwindSafe for GetAnalystRatingsLightParams
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