pub struct ArbitrageContract {
pub arbi_name: String,
pub variety_name: String,
pub arbi_contract_id: String,
pub max_hand: i32,
pub tick: f64,
}Expand description
Arbitrage contract information.
Fields§
§arbi_name: StringArbitrage strategy name.
variety_name: StringVariety name.
arbi_contract_id: StringArbitrage contract ID.
max_hand: i32Maximum order size.
tick: f64Minimum tick.
Trait Implementations§
Source§impl Clone for ArbitrageContract
impl Clone for ArbitrageContract
Source§fn clone(&self) -> ArbitrageContract
fn clone(&self) -> ArbitrageContract
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 ArbitrageContract
impl Debug for ArbitrageContract
Source§impl<'de> Deserialize<'de> for ArbitrageContract
impl<'de> Deserialize<'de> for ArbitrageContract
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 ArbitrageContract
impl RefUnwindSafe for ArbitrageContract
impl Send for ArbitrageContract
impl Sync for ArbitrageContract
impl Unpin for ArbitrageContract
impl UnwindSafe for ArbitrageContract
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