pub struct InstrumentsByTypeRequest {
pub instrument_type: String,
pub base_asset_ticker: Option<String>,
pub size: Option<u32>,
pub page: Option<u32>,
}Expand description
Parameters of BcsHttpClient::get_instruments_by_type.
Sent as a query string. Fields left as None are not sent.
Fields§
§instrument_type: StringInstrument type in the broker spelling: CURRENCY, STOCK, FOREIGN_STOCK, BONDS, NOTES, DEPOSITARY_RECEIPTS, EURO_BONDS, MUTUAL_FUNDS, ETF, FUTURES, OPTIONS, GOODS or INDICES. Another spelling (for example Stock) is refused.
base_asset_ticker: Option<String>Ticker of the base asset. The broker requires it when the type is OPTIONS.
size: Option<u32>Page size, 1 to 100. The broker default is 50.
page: Option<u32>Page number, from 0. The broker default is 0.
Trait Implementations§
Source§impl Clone for InstrumentsByTypeRequest
impl Clone for InstrumentsByTypeRequest
Source§fn clone(&self) -> InstrumentsByTypeRequest
fn clone(&self) -> InstrumentsByTypeRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InstrumentsByTypeRequest
impl RefUnwindSafe for InstrumentsByTypeRequest
impl Send for InstrumentsByTypeRequest
impl Sync for InstrumentsByTypeRequest
impl Unpin for InstrumentsByTypeRequest
impl UnsafeUnpin for InstrumentsByTypeRequest
impl UnwindSafe for InstrumentsByTypeRequest
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