pub struct PublicTradeLeg {
pub category: Option<String>,
pub symbol: Option<String>,
pub side: Option<String>,
pub price: Option<String>,
pub qty: Option<String>,
pub mark_price: Option<String>,
}Expand description
Public trade leg.
Fields§
§category: Option<String>§symbol: Option<String>§side: Option<String>§price: Option<String>§qty: Option<String>§mark_price: Option<String>Trait Implementations§
Source§impl Clone for PublicTradeLeg
impl Clone for PublicTradeLeg
Source§fn clone(&self) -> PublicTradeLeg
fn clone(&self) -> PublicTradeLeg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicTradeLeg
impl Debug for PublicTradeLeg
Source§impl<'de> Deserialize<'de> for PublicTradeLeg
impl<'de> Deserialize<'de> for PublicTradeLeg
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 PublicTradeLeg
impl RefUnwindSafe for PublicTradeLeg
impl Send for PublicTradeLeg
impl Sync for PublicTradeLeg
impl Unpin for PublicTradeLeg
impl UnsafeUnpin for PublicTradeLeg
impl UnwindSafe for PublicTradeLeg
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