pub struct InstrumentsByTickersRequest {
pub tickers: Vec<String>,
}Expand description
Body of BcsHttpClient::get_instruments_by_tickers.
§Examples
use brokapi_bcs_protocol::http::models::InstrumentsByTickersRequest;
let body = serde_json::to_string(&InstrumentsByTickersRequest { tickers: vec!["SBER".into()] })?;
assert_eq!(body, r#"{"tickers":["SBER"]}"#);Fields§
§tickers: Vec<String>Tickers to look up. The broker wants at least one, all different.
Trait Implementations§
Source§impl Clone for InstrumentsByTickersRequest
impl Clone for InstrumentsByTickersRequest
Source§fn clone(&self) -> InstrumentsByTickersRequest
fn clone(&self) -> InstrumentsByTickersRequest
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 moreSource§impl Debug for InstrumentsByTickersRequest
impl Debug for InstrumentsByTickersRequest
Auto Trait Implementations§
impl Freeze for InstrumentsByTickersRequest
impl RefUnwindSafe for InstrumentsByTickersRequest
impl Send for InstrumentsByTickersRequest
impl Sync for InstrumentsByTickersRequest
impl Unpin for InstrumentsByTickersRequest
impl UnsafeUnpin for InstrumentsByTickersRequest
impl UnwindSafe for InstrumentsByTickersRequest
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