pub struct GetExchangesParamsBuilder { /* private fields */ }Expand description
Builder for GetExchangesParams
Implementations§
Source§impl GetExchangesParamsBuilder
impl GetExchangesParamsBuilder
Sourcepub fn type(self, type: impl Into<String>) -> Self
pub fn type(self, type: impl Into<String>) -> Self
The asset class to which the instrument belongs
Sourcepub fn code(self, code: impl Into<String>) -> Self
pub fn code(self, code: impl Into<String>) -> Self
Filter by market identifier code (MIC) under ISO 10383 standard
Sourcepub fn country(self, country: impl Into<String>) -> Self
pub fn country(self, country: impl Into<String>) -> Self
Filter by country name or alpha code, e.g., United States or US
Sourcepub fn delimiter(self, delimiter: impl Into<String>) -> Self
pub fn delimiter(self, delimiter: impl Into<String>) -> Self
The separator used in the CSV response data
Sourcepub fn build(self) -> GetExchangesParams
pub fn build(self) -> GetExchangesParams
Build the parameter struct
Trait Implementations§
Source§impl Clone for GetExchangesParamsBuilder
impl Clone for GetExchangesParamsBuilder
Source§fn clone(&self) -> GetExchangesParamsBuilder
fn clone(&self) -> GetExchangesParamsBuilder
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 GetExchangesParamsBuilder
impl Debug for GetExchangesParamsBuilder
Source§impl Default for GetExchangesParamsBuilder
impl Default for GetExchangesParamsBuilder
Source§fn default() -> GetExchangesParamsBuilder
fn default() -> GetExchangesParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetExchangesParamsBuilder
impl RefUnwindSafe for GetExchangesParamsBuilder
impl Send for GetExchangesParamsBuilder
impl Sync for GetExchangesParamsBuilder
impl Unpin for GetExchangesParamsBuilder
impl UnwindSafe for GetExchangesParamsBuilder
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