Struct exc_types::instrument::FetchInstruments
source · pub struct FetchInstruments {
pub tag: Str,
}Expand description
Fetch instruments.
Fields§
§tag: StrTag.
Implementations§
source§impl FetchInstruments
impl FetchInstruments
sourcepub fn new(tag: impl AsRef<str>) -> Self
pub fn new(tag: impl AsRef<str>) -> Self
Create a new FetchInstruments request.
Trait Implementations§
source§impl Clone for FetchInstruments
impl Clone for FetchInstruments
source§fn clone(&self) -> FetchInstruments
fn clone(&self) -> FetchInstruments
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 FetchInstruments
impl Debug for FetchInstruments
source§impl Request for FetchInstruments
impl Request for FetchInstruments
§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 FetchInstruments
impl Send for FetchInstruments
impl Sync for FetchInstruments
impl Unpin for FetchInstruments
impl UnwindSafe for FetchInstruments
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