pub struct BlockRfqTradeLegs {
pub instrument_name: String,
pub direction: Direction,
pub ratio: i64,
}Fields§
§instrument_name: String§direction: Direction§ratio: i64Trait Implementations§
Source§impl Clone for BlockRfqTradeLegs
impl Clone for BlockRfqTradeLegs
Source§fn clone(&self) -> BlockRfqTradeLegs
fn clone(&self) -> BlockRfqTradeLegs
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 BlockRfqTradeLegs
impl Debug for BlockRfqTradeLegs
Source§impl Default for BlockRfqTradeLegs
impl Default for BlockRfqTradeLegs
Source§fn default() -> BlockRfqTradeLegs
fn default() -> BlockRfqTradeLegs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BlockRfqTradeLegs
impl<'de> Deserialize<'de> for BlockRfqTradeLegs
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
Source§impl PartialEq for BlockRfqTradeLegs
impl PartialEq for BlockRfqTradeLegs
Source§impl Serialize for BlockRfqTradeLegs
impl Serialize for BlockRfqTradeLegs
impl StructuralPartialEq for BlockRfqTradeLegs
Auto Trait Implementations§
impl Freeze for BlockRfqTradeLegs
impl RefUnwindSafe for BlockRfqTradeLegs
impl Send for BlockRfqTradeLegs
impl Sync for BlockRfqTradeLegs
impl Unpin for BlockRfqTradeLegs
impl UnwindSafe for BlockRfqTradeLegs
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