#[repr(i32)]pub enum FundType {
Show 17 variants
Currency = 1,
Bonds = 2,
Equity = 3,
Index = 4,
Balanced = 5,
Fof = 6,
Qdii = 7,
ShortTerm = 8,
FutuFof = 9,
StructuredNotes = 10,
Liquidity = 11,
Commodity = 12,
Alternative = 13,
Reit = 14,
CnavMmf = 15,
PrivateFund = 66,
Others = 1_000,
}Expand description
Static source catalogs. Dynamic company/theme/set identifiers are supplied by their server-owned discovery feeds and intentionally have no local enum.
Variants§
Currency = 1
Bonds = 2
Equity = 3
Index = 4
Balanced = 5
Fof = 6
Qdii = 7
ShortTerm = 8
FutuFof = 9
StructuredNotes = 10
Liquidity = 11
Commodity = 12
Alternative = 13
Reit = 14
PrivateFund = 66
Others = 1_000
Implementations§
Source§impl FundType
impl FundType
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§
impl Copy for FundType
Source§impl<'de> Deserialize<'de> for FundType
impl<'de> Deserialize<'de> for FundType
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
impl Eq for FundType
Source§impl Ord for FundType
impl Ord for FundType
1.21.0 (const: unstable) · 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 FundType
impl PartialOrd for FundType
impl StructuralPartialEq for FundType
Auto Trait Implementations§
impl Freeze for FundType
impl RefUnwindSafe for FundType
impl Send for FundType
impl Sync for FundType
impl Unpin for FundType
impl UnsafeUnpin for FundType
impl UnwindSafe for FundType
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