pub struct ContractInfo {
pub contract_id: String,
pub variety: String,
pub variety_order: String,
pub unit: i32,
pub tick: String,
pub start_trade_date: String,
pub end_trade_date: String,
pub end_delivery_date: String,
pub trade_type: String,
}Expand description
Contract information.
Fields§
§contract_id: StringContract ID.
variety: StringVariety code.
variety_order: StringVariety order.
unit: i32Contract unit.
tick: StringMinimum tick.
start_trade_date: StringStart trade date.
end_trade_date: StringEnd trade date.
end_delivery_date: StringEnd delivery date.
trade_type: StringTrade type.
Trait Implementations§
Source§impl Clone for ContractInfo
impl Clone for ContractInfo
Source§fn clone(&self) -> ContractInfo
fn clone(&self) -> ContractInfo
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 ContractInfo
impl Debug for ContractInfo
Source§impl<'de> Deserialize<'de> for ContractInfo
impl<'de> Deserialize<'de> for ContractInfo
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 ContractInfo
impl RefUnwindSafe for ContractInfo
impl Send for ContractInfo
impl Sync for ContractInfo
impl Unpin for ContractInfo
impl UnwindSafe for ContractInfo
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