pub struct GetBondsParams {
pub symbol: Option<String>,
pub exchange: Option<String>,
pub country: Option<String>,
pub format: Option<String>,
pub delimiter: Option<String>,
pub show_plan: Option<bool>,
pub page: Option<i64>,
pub outputsize: Option<i64>,
}Expand description
struct for passing parameters to the method get_bonds
Fields§
§symbol: Option<String>The ticker symbol of an instrument for which data is requested
exchange: Option<String>Filter by exchange name
country: Option<String>Filter by country name or alpha code, e.g., United States or US
format: Option<String>The format of the response data
delimiter: Option<String>The separator used in the CSV response data
show_plan: Option<bool>Adds info on which plan symbol is available
page: Option<i64>Page number of the results to fetch
outputsize: Option<i64>Determines the number of data points returned in the output
Implementations§
Source§impl GetBondsParams
impl GetBondsParams
Sourcepub fn builder() -> GetBondsParamsBuilder
pub fn builder() -> GetBondsParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetBondsParams
impl Clone for GetBondsParams
Source§fn clone(&self) -> GetBondsParams
fn clone(&self) -> GetBondsParams
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 GetBondsParams
impl Debug for GetBondsParams
Source§impl Default for GetBondsParams
impl Default for GetBondsParams
Source§fn default() -> GetBondsParams
fn default() -> GetBondsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetBondsParams
impl<'de> Deserialize<'de> for GetBondsParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetBondsParams
impl RefUnwindSafe for GetBondsParams
impl Send for GetBondsParams
impl Sync for GetBondsParams
impl Unpin for GetBondsParams
impl UnwindSafe for GetBondsParams
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