#[repr(C)]pub struct QryProductField {
pub product_id: InstrumentIdType,
pub product_class: u8,
pub exchange_id: ExchangeIdType,
}
Fields§
§product_id: InstrumentIdType
§product_class: u8
§exchange_id: ExchangeIdType
Implementations§
Source§impl QryProductField
impl QryProductField
pub fn new() -> Self
pub fn with_product_id(self, product_id: &str) -> CtpResult<Self>
pub fn with_exchange_id(self, exchange_id: &str) -> CtpResult<Self>
pub fn with_product_class(self, product_class: u8) -> Self
Trait Implementations§
Source§impl Clone for QryProductField
impl Clone for QryProductField
Source§fn clone(&self) -> QryProductField
fn clone(&self) -> QryProductField
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 QryProductField
impl Debug for QryProductField
Auto Trait Implementations§
impl Freeze for QryProductField
impl RefUnwindSafe for QryProductField
impl Send for QryProductField
impl Sync for QryProductField
impl Unpin for QryProductField
impl UnwindSafe for QryProductField
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