Enum longport::quote::WarrantSortBy
source · #[repr(i32)]pub enum WarrantSortBy {
Show 22 variants
LastDone = 0,
ChangeRate = 1,
ChangeValue = 2,
Volume = 3,
Turnover = 4,
ExpiryDate = 5,
StrikePrice = 6,
UpperStrikePrice = 7,
LowerStrikePrice = 8,
OutstandingQuantity = 9,
OutstandingRatio = 10,
Premium = 11,
ItmOtm = 12,
ImpliedVolatility = 13,
Delta = 14,
CallPrice = 15,
ToCallPrice = 16,
EffectiveLeverage = 17,
LeverageRatio = 18,
ConversionRatio = 19,
BalancePoint = 20,
Status = 21,
}
Expand description
Warrant sort by
Variants§
LastDone = 0
Last done
ChangeRate = 1
Change rate
ChangeValue = 2
Change value
Volume = 3
Volume
Turnover = 4
Turnover
ExpiryDate = 5
Expiry date
StrikePrice = 6
Strike price
UpperStrikePrice = 7
Upper strike price
LowerStrikePrice = 8
Lower strike price
OutstandingQuantity = 9
Outstanding quantity
OutstandingRatio = 10
Outstanding ratio
Premium = 11
Premium
ItmOtm = 12
In/out of the bound
ImpliedVolatility = 13
Implied volatility
Delta = 14
Greek value Delta
CallPrice = 15
Call price
ToCallPrice = 16
Price interval from the call price
EffectiveLeverage = 17
Effective leverage
LeverageRatio = 18
Leverage ratio
ConversionRatio = 19
Conversion ratio
BalancePoint = 20
Breakeven point
Status = 21
Status
Trait Implementations§
source§impl Clone for WarrantSortBy
impl Clone for WarrantSortBy
source§fn clone(&self) -> WarrantSortBy
fn clone(&self) -> WarrantSortBy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WarrantSortBy
impl Debug for WarrantSortBy
source§impl From<WarrantSortBy> for i32
impl From<WarrantSortBy> for i32
source§fn from(enum_value: WarrantSortBy) -> Self
fn from(enum_value: WarrantSortBy) -> Self
Converts to this type from the input type.
source§impl Hash for WarrantSortBy
impl Hash for WarrantSortBy
source§impl PartialEq for WarrantSortBy
impl PartialEq for WarrantSortBy
source§fn eq(&self, other: &WarrantSortBy) -> bool
fn eq(&self, other: &WarrantSortBy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WarrantSortBy
impl Eq for WarrantSortBy
impl StructuralPartialEq for WarrantSortBy
Auto Trait Implementations§
impl Freeze for WarrantSortBy
impl RefUnwindSafe for WarrantSortBy
impl Send for WarrantSortBy
impl Sync for WarrantSortBy
impl Unpin for WarrantSortBy
impl UnwindSafe for WarrantSortBy
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more