pub struct UnitsAvailableDetails {
pub long: Option<Decimal>,
pub short: Option<Decimal>,
}Expand description
Representation of many units of an Instrument are available to be traded for both long and short Orders.
Fields§
§long: Option<Decimal>The units available for long Orders.
short: Option<Decimal>The units available for short Orders.
Trait Implementations§
Source§impl Clone for UnitsAvailableDetails
impl Clone for UnitsAvailableDetails
Source§impl Debug for UnitsAvailableDetails
impl Debug for UnitsAvailableDetails
Source§impl<'de> Deserialize<'de> for UnitsAvailableDetails
impl<'de> Deserialize<'de> for UnitsAvailableDetails
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 UnitsAvailableDetails
impl PartialEq for UnitsAvailableDetails
Source§impl Serialize for UnitsAvailableDetails
impl Serialize for UnitsAvailableDetails
impl StructuralPartialEq for UnitsAvailableDetails
Auto Trait Implementations§
impl Freeze for UnitsAvailableDetails
impl RefUnwindSafe for UnitsAvailableDetails
impl Send for UnitsAvailableDetails
impl Sync for UnitsAvailableDetails
impl Unpin for UnitsAvailableDetails
impl UnsafeUnpin for UnitsAvailableDetails
impl UnwindSafe for UnitsAvailableDetails
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