pub struct CryptoPairInfo {
pub cc_origin: String,
pub cc_destination: String,
}Expand description
Crypto 交易币对元数据。
C++ NNProto_Trd_MaxQtyCrypto.cpp 通过 INNBiz_Qot_SecList::SearchSecByID
读取 Ndt_Qot_SecInfo::szCCOrigin/szCCDestination,并把它们分别写入
backend GetMaxBuySellReq.coin/currency。Rust 从 stock-list field 60/61
接入同一份数据,避免在交易路径按 symbol 字符串拆币种。
Fields§
§cc_origin: String§cc_destination: StringTrait Implementations§
Source§impl Clone for CryptoPairInfo
impl Clone for CryptoPairInfo
Source§fn clone(&self) -> CryptoPairInfo
fn clone(&self) -> CryptoPairInfo
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 CryptoPairInfo
impl Debug for CryptoPairInfo
Source§impl Default for CryptoPairInfo
impl Default for CryptoPairInfo
Source§fn default() -> CryptoPairInfo
fn default() -> CryptoPairInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for CryptoPairInfo
impl PartialEq for CryptoPairInfo
impl Eq for CryptoPairInfo
impl StructuralPartialEq for CryptoPairInfo
Auto Trait Implementations§
impl Freeze for CryptoPairInfo
impl RefUnwindSafe for CryptoPairInfo
impl Send for CryptoPairInfo
impl Sync for CryptoPairInfo
impl Unpin for CryptoPairInfo
impl UnsafeUnpin for CryptoPairInfo
impl UnwindSafe for CryptoPairInfo
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