pub struct SubscribeTrades {
pub instrument: Str,
}Expand description
Subscribe trades.
Fields§
§instrument: StrInstrument.
Implementations§
Source§impl SubscribeTrades
impl SubscribeTrades
Sourcepub fn new(inst: impl AsRef<str>) -> Self
pub fn new(inst: impl AsRef<str>) -> Self
Create a new SubscribeTrades request.
Trait Implementations§
Source§impl Clone for SubscribeTrades
impl Clone for SubscribeTrades
Source§fn clone(&self) -> SubscribeTrades
fn clone(&self) -> SubscribeTrades
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 moreSource§impl Debug for SubscribeTrades
impl Debug for SubscribeTrades
Auto Trait Implementations§
impl Freeze for SubscribeTrades
impl RefUnwindSafe for SubscribeTrades
impl Send for SubscribeTrades
impl Sync for SubscribeTrades
impl Unpin for SubscribeTrades
impl UnwindSafe for SubscribeTrades
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