pub struct GetBondsParamsBuilder { /* private fields */ }Expand description
Builder for GetBondsParams
Implementations§
Source§impl GetBondsParamsBuilder
impl GetBondsParamsBuilder
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 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 outputsize(self, outputsize: i64) -> Self
pub fn outputsize(self, outputsize: i64) -> Self
Determines the number of data points returned in the output
Sourcepub fn build(self) -> GetBondsParams
pub fn build(self) -> GetBondsParams
Build the parameter struct
Trait Implementations§
Source§impl Clone for GetBondsParamsBuilder
impl Clone for GetBondsParamsBuilder
Source§fn clone(&self) -> GetBondsParamsBuilder
fn clone(&self) -> GetBondsParamsBuilder
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 GetBondsParamsBuilder
impl Debug for GetBondsParamsBuilder
Source§impl Default for GetBondsParamsBuilder
impl Default for GetBondsParamsBuilder
Source§fn default() -> GetBondsParamsBuilder
fn default() -> GetBondsParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetBondsParamsBuilder
impl RefUnwindSafe for GetBondsParamsBuilder
impl Send for GetBondsParamsBuilder
impl Sync for GetBondsParamsBuilder
impl Unpin for GetBondsParamsBuilder
impl UnwindSafe for GetBondsParamsBuilder
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