pub enum PredictionCreateOrderRequestContractsDecimal {
String(String),
Number(f64),
}Expand description
Exact sell quantity as a decimal (e.g. 5.777773). Provide only one of contracts, contractsMicro, or contractsDecimal.
Variants§
Trait Implementations§
Source§impl Clone for PredictionCreateOrderRequestContractsDecimal
impl Clone for PredictionCreateOrderRequestContractsDecimal
Source§fn clone(&self) -> PredictionCreateOrderRequestContractsDecimal
fn clone(&self) -> PredictionCreateOrderRequestContractsDecimal
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<'de> Deserialize<'de> for PredictionCreateOrderRequestContractsDecimal
impl<'de> Deserialize<'de> for PredictionCreateOrderRequestContractsDecimal
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 PredictionCreateOrderRequestContractsDecimal
impl RefUnwindSafe for PredictionCreateOrderRequestContractsDecimal
impl Send for PredictionCreateOrderRequestContractsDecimal
impl Sync for PredictionCreateOrderRequestContractsDecimal
impl Unpin for PredictionCreateOrderRequestContractsDecimal
impl UnsafeUnpin for PredictionCreateOrderRequestContractsDecimal
impl UnwindSafe for PredictionCreateOrderRequestContractsDecimal
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