pub struct InstrumentRef {
pub symbol: String,
pub exchange: String,
pub instrument_group: Option<String>,
}Expand description
The instrument of an order command.
Fields§
§symbol: StringThe ticker.
exchange: StringMOEX or SPBX.
instrument_group: Option<String>The trading mode (board), for example TQBR.
Trait Implementations§
Source§impl Clone for InstrumentRef
impl Clone for InstrumentRef
Source§fn clone(&self) -> InstrumentRef
fn clone(&self) -> InstrumentRef
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 moreSource§impl Debug for InstrumentRef
impl Debug for InstrumentRef
Source§impl<'de> Deserialize<'de> for InstrumentRef
impl<'de> Deserialize<'de> for InstrumentRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InstrumentRef
impl RefUnwindSafe for InstrumentRef
impl Send for InstrumentRef
impl Sync for InstrumentRef
impl Unpin for InstrumentRef
impl UnsafeUnpin for InstrumentRef
impl UnwindSafe for InstrumentRef
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