pub struct MdSubscription {
pub id: SubscriptionId,
pub instrument: InstrumentId,
pub kind: MdSubKind,
pub opts: SubscribeOpts,
pub topic: String,
}Expand description
A market data subscription as the connector keeps it.
Fields§
§id: SubscriptionIdThe id given to the caller.
instrument: InstrumentIdThe instrument.
kind: MdSubKindThe purpose.
opts: SubscribeOptsThe options the caller gave.
topic: StringThe topic of the stream at the exchange.
Trait Implementations§
Source§impl Clone for MdSubscription
impl Clone for MdSubscription
Source§fn clone(&self) -> MdSubscription
fn clone(&self) -> MdSubscription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MdSubscription
impl RefUnwindSafe for MdSubscription
impl Send for MdSubscription
impl Sync for MdSubscription
impl Unpin for MdSubscription
impl UnsafeUnpin for MdSubscription
impl UnwindSafe for MdSubscription
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