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