pub struct GetMarketStateParams {
pub exchange: Option<String>,
pub code: Option<String>,
pub country: Option<String>,
}Expand description
struct for passing parameters to the method get_market_state
Fields§
§exchange: Option<String>The exchange name where the instrument is traded.
code: Option<String>The Market Identifier Code (MIC) of the exchange where the instrument is traded.
country: Option<String>The country where the exchange is located. Takes country name or alpha code.
Implementations§
Source§impl GetMarketStateParams
impl GetMarketStateParams
Sourcepub fn builder() -> GetMarketStateParamsBuilder
pub fn builder() -> GetMarketStateParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetMarketStateParams
impl Clone for GetMarketStateParams
Source§fn clone(&self) -> GetMarketStateParams
fn clone(&self) -> GetMarketStateParams
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 GetMarketStateParams
impl Debug for GetMarketStateParams
Source§impl Default for GetMarketStateParams
impl Default for GetMarketStateParams
Source§fn default() -> GetMarketStateParams
fn default() -> GetMarketStateParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetMarketStateParams
impl RefUnwindSafe for GetMarketStateParams
impl Send for GetMarketStateParams
impl Sync for GetMarketStateParams
impl Unpin for GetMarketStateParams
impl UnwindSafe for GetMarketStateParams
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