pub struct GetExchangesParams {
pub type: Option<String>,
pub name: Option<String>,
pub code: Option<String>,
pub country: Option<String>,
pub format: Option<String>,
pub delimiter: Option<String>,
pub show_plan: Option<bool>,
}Expand description
struct for passing parameters to the method get_exchanges
Fields§
§type: Option<String>The asset class to which the instrument belongs
name: Option<String>Filter by exchange name
code: Option<String>Filter by market identifier code (MIC) under ISO 10383 standard
country: Option<String>Filter by country name or alpha code, e.g., United States or US
format: Option<String>The format of the response data
delimiter: Option<String>The separator used in the CSV response data
show_plan: Option<bool>Adds info on which plan symbol is available
Implementations§
Source§impl GetExchangesParams
impl GetExchangesParams
Sourcepub fn builder() -> GetExchangesParamsBuilder
pub fn builder() -> GetExchangesParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetExchangesParams
impl Clone for GetExchangesParams
Source§fn clone(&self) -> GetExchangesParams
fn clone(&self) -> GetExchangesParams
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 GetExchangesParams
impl Debug for GetExchangesParams
Source§impl Default for GetExchangesParams
impl Default for GetExchangesParams
Source§fn default() -> GetExchangesParams
fn default() -> GetExchangesParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetExchangesParams
impl<'de> Deserialize<'de> for GetExchangesParams
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 GetExchangesParams
impl RefUnwindSafe for GetExchangesParams
impl Send for GetExchangesParams
impl Sync for GetExchangesParams
impl Unpin for GetExchangesParams
impl UnwindSafe for GetExchangesParams
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