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 = SessionRejectReason
type Error = SessionRejectReason
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