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