pub struct UnitsAvailableDetails {
pub short: Option<f32>,
pub long: Option<f32>,
}
Fields§
§short: Option<f32>
The units available for short Orders. format: A decimal number encoded as a string. The amount of precision provided depends on what the number represents.
long: Option<f32>
The units available for long Orders. format: A decimal number encoded as a string. The amount of precision provided depends on what the number represents.
Implementations§
source§impl UnitsAvailableDetails
impl UnitsAvailableDetails
pub fn new() -> UnitsAvailableDetails
sourcepub fn with_short(self, x: f32) -> Self
pub fn with_short(self, x: f32) -> Self
The units available for short Orders. format: A decimal number encoded as a string. The amount of precision provided depends on what the number represents.
- param f32
- return UnitsAvailableDetails
Trait Implementations§
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
Auto Trait Implementations§
impl Freeze for UnitsAvailableDetails
impl RefUnwindSafe for UnitsAvailableDetails
impl Send for UnitsAvailableDetails
impl Sync for UnitsAvailableDetails
impl Unpin 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