pub struct SettleParam {Show 13 fields
pub variety: String,
pub variety_order: String,
pub contract_id: String,
pub clear_price: String,
pub open_fee: String,
pub offset_fee: String,
pub short_open_fee: String,
pub short_offset_fee: String,
pub style: String,
pub spec_buy_rate: String,
pub spec_sell_rate: String,
pub hedge_buy_rate: String,
pub hedge_sell_rate: String,
}Expand description
Settlement parameter data.
Fields§
§variety: StringVariety code.
variety_order: StringVariety order.
contract_id: StringContract ID.
clear_price: StringClearing/settlement price.
open_fee: StringOpen fee.
offset_fee: StringOffset fee.
short_open_fee: StringShort open fee (intraday).
short_offset_fee: StringShort offset fee (intraday).
style: StringPosition limit style.
spec_buy_rate: StringSpeculative buy margin rate.
spec_sell_rate: StringSpeculative sell margin rate.
hedge_buy_rate: StringHedge buy margin rate.
hedge_sell_rate: StringHedge sell margin rate.
Trait Implementations§
Source§impl Clone for SettleParam
impl Clone for SettleParam
Source§fn clone(&self) -> SettleParam
fn clone(&self) -> SettleParam
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 SettleParam
impl Debug for SettleParam
Source§impl<'de> Deserialize<'de> for SettleParam
impl<'de> Deserialize<'de> for SettleParam
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 SettleParam
impl RefUnwindSafe for SettleParam
impl Send for SettleParam
impl Sync for SettleParam
impl Unpin for SettleParam
impl UnwindSafe for SettleParam
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