pub struct FetchTradeConfigRequest {
pub currency_pair_list: Vec<CurrencyPair>,
pub data_from: Option<u32>,
pub data_max_count: Option<u32>,
pub symbol_list: Vec<String>,
pub status: Option<String>,
}Expand description
可交易币对查询
Fields§
§currency_pair_list: Vec<CurrencyPair>交易货币对列表,不指定默认全部
data_from: Option<u32>【已废弃,直接返回当前筛选条件下的全量数据】数据开始项
data_max_count: Option<u32>【已废弃,直接返回当前筛选条件下的全量数据】返回的最大数据量
symbol_list: Vec<String>交易代码(CurrencyPair拼接得出),eg.BTCUSD,与currency_pair_list冲突默认以symbol_list为查询条件
status: Option<String>交易对状态,详见TradeConfigStatus,若未填充,默认返回LISTED
Implementations§
Source§impl FetchTradeConfigRequest
impl FetchTradeConfigRequest
Trait Implementations§
Source§impl Clone for FetchTradeConfigRequest
impl Clone for FetchTradeConfigRequest
Source§fn clone(&self) -> FetchTradeConfigRequest
fn clone(&self) -> FetchTradeConfigRequest
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 FetchTradeConfigRequest
impl Debug for FetchTradeConfigRequest
Source§impl Default for FetchTradeConfigRequest
impl Default for FetchTradeConfigRequest
Source§impl Message for FetchTradeConfigRequest
impl Message for FetchTradeConfigRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for FetchTradeConfigRequest
impl PartialEq for FetchTradeConfigRequest
impl StructuralPartialEq for FetchTradeConfigRequest
Auto Trait Implementations§
impl Freeze for FetchTradeConfigRequest
impl RefUnwindSafe for FetchTradeConfigRequest
impl Send for FetchTradeConfigRequest
impl Sync for FetchTradeConfigRequest
impl Unpin for FetchTradeConfigRequest
impl UnsafeUnpin for FetchTradeConfigRequest
impl UnwindSafe for FetchTradeConfigRequest
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