pub struct BybitFuturesInstrument {
pub id: InstrumentId,
}Expand description
Bybit Futures instrument implementation
Fields§
§id: InstrumentIdUnique instrument identifier
Trait Implementations§
Source§impl Clone for BybitFuturesInstrument
impl Clone for BybitFuturesInstrument
Source§fn clone(&self) -> BybitFuturesInstrument
fn clone(&self) -> BybitFuturesInstrument
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 BybitFuturesInstrument
impl Debug for BybitFuturesInstrument
Source§impl Instrument for BybitFuturesInstrument
impl Instrument for BybitFuturesInstrument
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 BybitFuturesInstrument
impl RefUnwindSafe for BybitFuturesInstrument
impl Send for BybitFuturesInstrument
impl Sync for BybitFuturesInstrument
impl Unpin for BybitFuturesInstrument
impl UnwindSafe for BybitFuturesInstrument
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