pub struct GetMarketStateParamsBuilder { /* private fields */ }Expand description
Builder for GetMarketStateParams
Implementations§
Source§impl GetMarketStateParamsBuilder
impl GetMarketStateParamsBuilder
Sourcepub fn exchange(self, exchange: impl Into<String>) -> Self
pub fn exchange(self, exchange: impl Into<String>) -> Self
The exchange name where the instrument is traded.
Sourcepub fn code(self, code: impl Into<String>) -> Self
pub fn code(self, code: impl Into<String>) -> Self
The Market Identifier Code (MIC) of the exchange where the instrument is traded.
Sourcepub fn country(self, country: impl Into<String>) -> Self
pub fn country(self, country: impl Into<String>) -> Self
The country where the exchange is located. Takes country name or alpha code.
Sourcepub fn build(self) -> GetMarketStateParams
pub fn build(self) -> GetMarketStateParams
Build the parameter struct
Trait Implementations§
Source§impl Clone for GetMarketStateParamsBuilder
impl Clone for GetMarketStateParamsBuilder
Source§fn clone(&self) -> GetMarketStateParamsBuilder
fn clone(&self) -> GetMarketStateParamsBuilder
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 GetMarketStateParamsBuilder
impl Debug for GetMarketStateParamsBuilder
Source§impl Default for GetMarketStateParamsBuilder
impl Default for GetMarketStateParamsBuilder
Source§fn default() -> GetMarketStateParamsBuilder
fn default() -> GetMarketStateParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetMarketStateParamsBuilder
impl RefUnwindSafe for GetMarketStateParamsBuilder
impl Send for GetMarketStateParamsBuilder
impl Sync for GetMarketStateParamsBuilder
impl Unpin for GetMarketStateParamsBuilder
impl UnwindSafe for GetMarketStateParamsBuilder
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