pub enum PriceType {
Show 18 variants
Percentage,
PerUnit,
FixedAmount,
Discount,
Premium,
Spread,
TedPrice,
TedYield,
Yield,
FixedCabinetTradePrice,
VariableCabinetTradePrice,
ProductTicksInHalfs,
ProductTicksInFourths,
ProductTicksInEights,
ProductTicksInSixteenths,
ProductTicksInThirtySeconds,
ProductTicksInSixtyForths,
ProductTicksInOneTwentyEights,
}
Variants
Percentage
PerUnit
FixedAmount
Discount
Premium
Spread
TedPrice
TedYield
Yield
FixedCabinetTradePrice
VariableCabinetTradePrice
ProductTicksInHalfs
ProductTicksInFourths
ProductTicksInEights
ProductTicksInSixteenths
ProductTicksInThirtySeconds
ProductTicksInSixtyForths
ProductTicksInOneTwentyEights
Implementations
Trait Implementations
sourceimpl TryFrom<i64> for PriceType
impl TryFrom<i64> for PriceType
type Error = RejectReason
type Error = RejectReason
The type returned in the event of a conversion error.
impl Copy for PriceType
impl Eq for PriceType
impl StructuralEq for PriceType
impl StructuralPartialEq for PriceType
Auto Trait Implementations
impl RefUnwindSafe for PriceType
impl Send for PriceType
impl Sync for PriceType
impl Unpin for PriceType
impl UnwindSafe for PriceType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more