pub struct SimulateBlockTradeRequest {
pub role: Option<BlockTradeRole>,
pub trades: Vec<BlockTradeItem>,
}Expand description
Request parameters for simulating a block trade.
Fields§
§role: Option<BlockTradeRole>Role in the trade (maker or taker), optional
trades: Vec<BlockTradeItem>List of trades for the block trade
Trait Implementations§
Source§impl Clone for SimulateBlockTradeRequest
impl Clone for SimulateBlockTradeRequest
Source§fn clone(&self) -> SimulateBlockTradeRequest
fn clone(&self) -> SimulateBlockTradeRequest
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 SimulateBlockTradeRequest
impl Debug for SimulateBlockTradeRequest
Source§impl<'de> Deserialize<'de> for SimulateBlockTradeRequest
impl<'de> Deserialize<'de> for SimulateBlockTradeRequest
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
impl StructuralPartialEq for SimulateBlockTradeRequest
Auto Trait Implementations§
impl Freeze for SimulateBlockTradeRequest
impl RefUnwindSafe for SimulateBlockTradeRequest
impl Send for SimulateBlockTradeRequest
impl Sync for SimulateBlockTradeRequest
impl Unpin for SimulateBlockTradeRequest
impl UnsafeUnpin for SimulateBlockTradeRequest
impl UnwindSafe for SimulateBlockTradeRequest
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