pub struct GetForexPairsParamsBuilder { /* private fields */ }Expand description
Builder for GetForexPairsParams
Implementations§
Source§impl GetForexPairsParamsBuilder
impl GetForexPairsParamsBuilder
Sourcepub fn symbol(self, symbol: impl Into<String>) -> Self
pub fn symbol(self, symbol: impl Into<String>) -> Self
The ticker symbol of an instrument for which data is requested
Sourcepub fn currency_base(self, currency_base: impl Into<String>) -> Self
pub fn currency_base(self, currency_base: impl Into<String>) -> Self
Filter by currency base
Sourcepub fn currency_quote(self, currency_quote: impl Into<String>) -> Self
pub fn currency_quote(self, currency_quote: impl Into<String>) -> Self
Filter by currency quote
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) -> GetForexPairsParams
pub fn build(self) -> GetForexPairsParams
Build the parameter struct
Trait Implementations§
Source§impl Clone for GetForexPairsParamsBuilder
impl Clone for GetForexPairsParamsBuilder
Source§fn clone(&self) -> GetForexPairsParamsBuilder
fn clone(&self) -> GetForexPairsParamsBuilder
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 GetForexPairsParamsBuilder
impl Debug for GetForexPairsParamsBuilder
Source§impl Default for GetForexPairsParamsBuilder
impl Default for GetForexPairsParamsBuilder
Source§fn default() -> GetForexPairsParamsBuilder
fn default() -> GetForexPairsParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetForexPairsParamsBuilder
impl RefUnwindSafe for GetForexPairsParamsBuilder
impl Send for GetForexPairsParamsBuilder
impl Sync for GetForexPairsParamsBuilder
impl Unpin for GetForexPairsParamsBuilder
impl UnwindSafe for GetForexPairsParamsBuilder
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