#[repr(C)]pub struct QryInstrumentField {
pub instrument_id: InstrumentIdType,
pub exchange_id: ExchangeIdType,
pub exchange_inst_id: ExchangeInstIdType,
pub product_id: InstrumentIdType,
}
Fields§
§instrument_id: InstrumentIdType
§exchange_id: ExchangeIdType
§exchange_inst_id: ExchangeInstIdType
§product_id: InstrumentIdType
Implementations§
Source§impl QryInstrumentField
impl QryInstrumentField
pub fn new() -> Self
pub fn with_instrument_id(self, instrument_id: &str) -> CtpResult<Self>
pub fn with_exchange_id(self, exchange_id: &str) -> CtpResult<Self>
Trait Implementations§
Source§impl Clone for QryInstrumentField
impl Clone for QryInstrumentField
Source§fn clone(&self) -> QryInstrumentField
fn clone(&self) -> QryInstrumentField
Returns a duplicate of the value. Read more
1.0.0 · 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 QryInstrumentField
impl Debug for QryInstrumentField
Auto Trait Implementations§
impl Freeze for QryInstrumentField
impl RefUnwindSafe for QryInstrumentField
impl Send for QryInstrumentField
impl Sync for QryInstrumentField
impl Unpin for QryInstrumentField
impl UnwindSafe for QryInstrumentField
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