pub struct OptionsClient { /* private fields */ }Implementations§
Source§impl OptionsClient
impl OptionsClient
pub async fn bars(&self, request: BarsRequest) -> Result<BarsResponse, Error>
pub async fn bars_all( &self, request: BarsRequest, ) -> Result<BarsResponse, Error>
pub fn bars_stream( &self, request: BarsRequest, ) -> Pin<Box<dyn Stream<Item = Result<BarsResponse, Error>> + Send>>
pub async fn trades( &self, request: TradesRequest, ) -> Result<TradesResponse, Error>
pub async fn trades_all( &self, request: TradesRequest, ) -> Result<TradesResponse, Error>
pub fn trades_stream( &self, request: TradesRequest, ) -> Pin<Box<dyn Stream<Item = Result<TradesResponse, Error>> + Send>>
pub async fn latest_quotes( &self, request: LatestQuotesRequest, ) -> Result<LatestQuotesResponse, Error>
pub async fn latest_trades( &self, request: LatestTradesRequest, ) -> Result<LatestTradesResponse, Error>
pub async fn snapshots( &self, request: SnapshotsRequest, ) -> Result<SnapshotsResponse, Error>
pub async fn snapshots_all( &self, request: SnapshotsRequest, ) -> Result<SnapshotsResponse, Error>
pub fn snapshots_stream( &self, request: SnapshotsRequest, ) -> Pin<Box<dyn Stream<Item = Result<SnapshotsResponse, Error>> + Send>>
pub async fn chain(&self, request: ChainRequest) -> Result<ChainResponse, Error>
pub async fn chain_all( &self, request: ChainRequest, ) -> Result<ChainResponse, Error>
pub fn chain_stream( &self, request: ChainRequest, ) -> Pin<Box<dyn Stream<Item = Result<ChainResponse, Error>> + Send>>
pub async fn exchange_codes(&self) -> Result<ExchangeCodesResponse, Error>
pub async fn condition_codes( &self, request: ConditionCodesRequest, ) -> Result<ConditionCodesResponse, Error>
Trait Implementations§
Source§impl Clone for OptionsClient
impl Clone for OptionsClient
Source§fn clone(&self) -> OptionsClient
fn clone(&self) -> OptionsClient
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 moreAuto Trait Implementations§
impl Freeze for OptionsClient
impl !RefUnwindSafe for OptionsClient
impl Send for OptionsClient
impl Sync for OptionsClient
impl Unpin for OptionsClient
impl !UnwindSafe for OptionsClient
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