pub enum AccountKind {
Futures,
Universal,
SingleCurrency,
}Expand description
账户类型分类 (用于查 supported currencies 表)
Variants§
Futures
期货账户 (trd_market == NN_TrdMarket_Futures = 5)
Universal
全能账户 / Universal (trd_market == NN_TrdMarket_SG = 6)
注意: SG=6 在 C++ 是 “全能账户” enum 的复用, 不是新加坡市场专属
(见 Trd_Common.proto:32 注释 “期货市场“误注 + 实际 C++ 行为 path)
SingleCurrency
单币种账户 (其他所有 trd_market)
Trait Implementations§
Source§impl Clone for AccountKind
impl Clone for AccountKind
Source§fn clone(&self) -> AccountKind
fn clone(&self) -> AccountKind
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 AccountKind
impl Debug for AccountKind
Source§impl PartialEq for AccountKind
impl PartialEq for AccountKind
impl Copy for AccountKind
impl Eq for AccountKind
impl StructuralPartialEq for AccountKind
Auto Trait Implementations§
impl Freeze for AccountKind
impl RefUnwindSafe for AccountKind
impl Send for AccountKind
impl Sync for AccountKind
impl Unpin for AccountKind
impl UnsafeUnpin for AccountKind
impl UnwindSafe for AccountKind
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> 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