pub struct ContractApiClient<C: Connect> { /* private fields */ }
Implementations§
Source§impl<C: Connect> ContractApiClient<C>
impl<C: Connect> ContractApiClient<C>
pub fn new(configuration: Rc<Configuration<C>>) -> ContractApiClient<C>
Trait Implementations§
Source§impl<C: Connect> ContractApi for ContractApiClient<C>
impl<C: Connect> ContractApi for ContractApiClient<C>
fn iserver_contract_conid_algos_get( &self, conid: &str, algos: &str, add_description: &str, add_params: &str, ) -> Box<dyn Future<Item = Vec<InlineResponse20022>, Error = Error<Value>>>
fn iserver_contract_conid_info_and_rules_get( &self, conid: &str, is_buy: bool, ) -> Box<dyn Future<Item = InlineResponse20023, Error = Error<Value>>>
fn iserver_contract_conid_info_get( &self, conid: &str, ) -> Box<dyn Future<Item = Contract, Error = Error<Value>>>
fn iserver_secdef_info_get( &self, conid: &str, sectype: &str, month: &str, exchange: &str, strike: &str, right: &str, ) -> Box<dyn Future<Item = Value, Error = Error<Value>>>
fn iserver_secdef_search_post( &self, symbol: Symbol, ) -> Box<dyn Future<Item = Vec<InlineResponse20029>, Error = Error<Value>>>
fn iserver_secdef_strikes_get( &self, conid: &str, sectype: &str, month: &str, exchange: &str, ) -> Box<dyn Future<Item = InlineResponse20030, Error = Error<Value>>>
fn trsrv_futures_get( &self, symbols: &str, ) -> Box<dyn Future<Item = InlineResponse20036, Error = Error<Value>>>
fn trsrv_secdef_post( &self, body: Body11, ) -> Box<dyn Future<Item = Secdef, Error = Error<Value>>>
fn trsrv_secdef_schedule_get( &self, asset_class: &str, symbol: &str, exchange: &str, exchange_filter: &str, ) -> Box<dyn Future<Item = InlineResponse20037, Error = Error<Value>>>
fn trsrv_stocks_get( &self, symbols: &str, ) -> Box<dyn Future<Item = InlineResponse20038, Error = Error<Value>>>
Auto Trait Implementations§
impl<C> Freeze for ContractApiClient<C>
impl<C> !RefUnwindSafe for ContractApiClient<C>
impl<C> !Send for ContractApiClient<C>
impl<C> !Sync for ContractApiClient<C>
impl<C> Unpin for ContractApiClient<C>
impl<C> !UnwindSafe for ContractApiClient<C>
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