pub struct BybitInstrument {
pub id: InstrumentId,
}Expand description
Simple instrument implementation for Bybit
Fields§
§id: InstrumentIdUnique instrument identifier
Trait Implementations§
Source§impl Clone for BybitInstrument
impl Clone for BybitInstrument
Source§fn clone(&self) -> BybitInstrument
fn clone(&self) -> BybitInstrument
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BybitInstrument
impl Debug for BybitInstrument
Source§impl Instrument for BybitInstrument
impl Instrument for BybitInstrument
Source§fn id(&self) -> InstrumentId
fn id(&self) -> InstrumentId
Get the instrument ID
Source§fn clone_box(&self) -> Box<dyn Instrument>
fn clone_box(&self) -> Box<dyn Instrument>
Clone this instrument into a new box
Auto Trait Implementations§
impl Freeze for BybitInstrument
impl RefUnwindSafe for BybitInstrument
impl Send for BybitInstrument
impl Sync for BybitInstrument
impl Unpin for BybitInstrument
impl UnwindSafe for BybitInstrument
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