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