#[repr(i32)]pub enum UnderlyingRankIndicatorType {
Show 14 variants
Unknown = 0,
OwnerList = 1,
StockCategory = 2,
Volume = 3,
OpenInterest = 4,
Iv = 5,
Hv = 6,
IvRank = 7,
IvPercentile = 8,
IvChange = 9,
HvChange = 10,
VolumeRatio = 11,
OiRatio = 12,
MarketCap = 13,
}Expand description
标的排行筛选因子类型
Variants§
Unknown = 0
OwnerList = 1
【确切值】指定标的列表(securityList)
StockCategory = 2
【确切值】标的品类(valueList, StockCategory)
Volume = 3
【范围】总成交量
OpenInterest = 4
【范围】总持仓量
Iv = 5
【范围】IV(%)
Hv = 6
【范围】HV(%)
IvRank = 7
【范围】IV Rank(%)
IvPercentile = 8
【范围】IV Percentile(%)
IvChange = 9
【范围】IV变化率(%)
HvChange = 10
【范围】HV变化率(%)
VolumeRatio = 11
【范围】成交量P/C比值(%)
OiRatio = 12
【范围】持仓量P/C比值(%)
MarketCap = 13
【范围】市值
Implementations§
Source§impl UnderlyingRankIndicatorType
impl UnderlyingRankIndicatorType
Sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true if value is a variant of UnderlyingRankIndicatorType.
Sourcepub fn from_i32(value: i32) -> Option<UnderlyingRankIndicatorType>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<UnderlyingRankIndicatorType>
Use the TryFrom<i32> implementation instead
Converts an i32 to a UnderlyingRankIndicatorType, or None if value is not a valid variant.
Source§impl UnderlyingRankIndicatorType
impl UnderlyingRankIndicatorType
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for UnderlyingRankIndicatorType
impl Clone for UnderlyingRankIndicatorType
Source§fn clone(&self) -> UnderlyingRankIndicatorType
fn clone(&self) -> UnderlyingRankIndicatorType
Returns a duplicate 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 UnderlyingRankIndicatorType
impl Debug for UnderlyingRankIndicatorType
Source§impl Default for UnderlyingRankIndicatorType
impl Default for UnderlyingRankIndicatorType
Source§fn default() -> UnderlyingRankIndicatorType
fn default() -> UnderlyingRankIndicatorType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnderlyingRankIndicatorType
impl<'de> Deserialize<'de> for UnderlyingRankIndicatorType
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
Source§impl From<UnderlyingRankIndicatorType> for i32
impl From<UnderlyingRankIndicatorType> for i32
Source§fn from(value: UnderlyingRankIndicatorType) -> i32
fn from(value: UnderlyingRankIndicatorType) -> i32
Converts to this type from the input type.
Source§impl Hash for UnderlyingRankIndicatorType
impl Hash for UnderlyingRankIndicatorType
Source§impl Ord for UnderlyingRankIndicatorType
impl Ord for UnderlyingRankIndicatorType
Source§fn cmp(&self, other: &UnderlyingRankIndicatorType) -> Ordering
fn cmp(&self, other: &UnderlyingRankIndicatorType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for UnderlyingRankIndicatorType
impl PartialOrd for UnderlyingRankIndicatorType
Source§impl TryFrom<i32> for UnderlyingRankIndicatorType
impl TryFrom<i32> for UnderlyingRankIndicatorType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<UnderlyingRankIndicatorType, UnknownEnumValue>
fn try_from(value: i32) -> Result<UnderlyingRankIndicatorType, UnknownEnumValue>
Performs the conversion.
impl Copy for UnderlyingRankIndicatorType
impl Eq for UnderlyingRankIndicatorType
impl StructuralPartialEq for UnderlyingRankIndicatorType
Auto Trait Implementations§
impl Freeze for UnderlyingRankIndicatorType
impl RefUnwindSafe for UnderlyingRankIndicatorType
impl Send for UnderlyingRankIndicatorType
impl Sync for UnderlyingRankIndicatorType
impl Unpin for UnderlyingRankIndicatorType
impl UnsafeUnpin for UnderlyingRankIndicatorType
impl UnwindSafe for UnderlyingRankIndicatorType
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