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