Struct exc_types::instrument::SubscribeInstruments
source · pub struct SubscribeInstruments {
pub tag: Str,
}Expand description
Subscribe instruments.
Fields§
§tag: StrTag.
Implementations§
source§impl SubscribeInstruments
impl SubscribeInstruments
sourcepub fn new(tag: impl AsRef<str>) -> Self
pub fn new(tag: impl AsRef<str>) -> Self
Create a new SubscribeInstruments request.
Trait Implementations§
source§impl Clone for SubscribeInstruments
impl Clone for SubscribeInstruments
source§fn clone(&self) -> SubscribeInstruments
fn clone(&self) -> SubscribeInstruments
Returns a copy 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 moresource§impl Debug for SubscribeInstruments
impl Debug for SubscribeInstruments
source§impl Request for SubscribeInstruments
impl Request for SubscribeInstruments
§type Response = Pin<Box<dyn Stream<Item = Result<InstrumentMeta<Decimal>, ExchangeError>> + Send>>
type Response = Pin<Box<dyn Stream<Item = Result<InstrumentMeta<Decimal>, ExchangeError>> + Send>>
Response type.
Auto Trait Implementations§
impl RefUnwindSafe for SubscribeInstruments
impl Send for SubscribeInstruments
impl Sync for SubscribeInstruments
impl Unpin for SubscribeInstruments
impl UnwindSafe for SubscribeInstruments
Blanket Implementations§
source§impl<T, R, E> Adaptor<R> for T
impl<T, R, E> Adaptor<R> for T
source§fn from_request(req: R) -> Result<T, ExchangeError>
fn from_request(req: R) -> Result<T, ExchangeError>
Convert from request.
source§fn into_response(
resp: <T as Request>::Response
) -> Result<<R as Request>::Response, ExchangeError>
fn into_response( resp: <T as Request>::Response ) -> Result<<R as Request>::Response, ExchangeError>
Convert into response.
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