pub struct GetCrossListingsParams {
pub symbol: String,
pub exchange: Option<String>,
pub mic_code: Option<String>,
pub country: Option<String>,
}Expand description
struct for passing parameters to the method get_cross_listings
Fields§
§symbol: StringThe ticker symbol of an instrument for which data is requested
exchange: Option<String>Exchange where instrument is traded
mic_code: Option<String>Market identifier code (MIC) under ISO 10383 standard
country: Option<String>Country to which stock exchange belongs to
Implementations§
Source§impl GetCrossListingsParams
impl GetCrossListingsParams
Sourcepub fn builder() -> GetCrossListingsParamsBuilder
pub fn builder() -> GetCrossListingsParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetCrossListingsParams
impl Clone for GetCrossListingsParams
Source§fn clone(&self) -> GetCrossListingsParams
fn clone(&self) -> GetCrossListingsParams
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 GetCrossListingsParams
impl Debug for GetCrossListingsParams
Source§impl Default for GetCrossListingsParams
impl Default for GetCrossListingsParams
Source§fn default() -> GetCrossListingsParams
fn default() -> GetCrossListingsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCrossListingsParams
impl<'de> Deserialize<'de> for GetCrossListingsParams
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 GetCrossListingsParams
impl RefUnwindSafe for GetCrossListingsParams
impl Send for GetCrossListingsParams
impl Sync for GetCrossListingsParams
impl Unpin for GetCrossListingsParams
impl UnwindSafe for GetCrossListingsParams
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