#[repr(i32)]pub enum SystemGroupType {
Show 16 variants
All = 1_000,
Cn = 899,
Hk = 898,
Us = 897,
Position = 896,
UsOpt = 895,
Focus = 894,
HkOpt = 893,
Future = 892,
Forex = 891,
Fund = 890,
Option = 889,
Bond = 888,
Sg = 887,
Index = 886,
Crypto = 885,
}Variants§
All = 1_000
全部分组
Cn = 899
沪深
Hk = 898
港股
Us = 897
美股
Position = 896
持仓
UsOpt = 895
美股期权
Focus = 894
特别关注
HkOpt = 893
港股期权
Future = 892
期货
Forex = 891
外汇
Fund = 890
基金
Option = 889
期权
Bond = 888
债券
Sg = 887
新加坡
Index = 886
指数
Crypto = 885
数字货币
Implementations§
Source§impl SystemGroupType
impl SystemGroupType
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 SystemGroupType
impl Clone for SystemGroupType
Source§fn clone(&self) -> SystemGroupType
fn clone(&self) -> SystemGroupType
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 SystemGroupType
impl Debug for SystemGroupType
Source§impl Default for SystemGroupType
impl Default for SystemGroupType
Source§fn default() -> SystemGroupType
fn default() -> SystemGroupType
Returns the “default value” for a type. Read more
Source§impl From<SystemGroupType> for i32
impl From<SystemGroupType> for i32
Source§fn from(value: SystemGroupType) -> i32
fn from(value: SystemGroupType) -> i32
Converts to this type from the input type.
Source§impl Hash for SystemGroupType
impl Hash for SystemGroupType
Source§impl Ord for SystemGroupType
impl Ord for SystemGroupType
Source§fn cmp(&self, other: &SystemGroupType) -> Ordering
fn cmp(&self, other: &SystemGroupType) -> 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 PartialEq for SystemGroupType
impl PartialEq for SystemGroupType
Source§impl PartialOrd for SystemGroupType
impl PartialOrd for SystemGroupType
Source§impl TryFrom<i32> for SystemGroupType
impl TryFrom<i32> for SystemGroupType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<SystemGroupType, UnknownEnumValue>
fn try_from(value: i32) -> Result<SystemGroupType, UnknownEnumValue>
Performs the conversion.
impl Copy for SystemGroupType
impl Eq for SystemGroupType
impl StructuralPartialEq for SystemGroupType
Auto Trait Implementations§
impl Freeze for SystemGroupType
impl RefUnwindSafe for SystemGroupType
impl Send for SystemGroupType
impl Sync for SystemGroupType
impl Unpin for SystemGroupType
impl UnsafeUnpin for SystemGroupType
impl UnwindSafe for SystemGroupType
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.