pub struct QueryManualOrderReq {
pub cid: Option<u64>,
pub symbol: Option<String>,
pub side: Option<u32>,
pub manual_ord_type: Option<u32>,
pub status: Option<u32>,
pub begin_input_time: Option<i64>,
pub end_input_time: Option<i64>,
pub pagination: Option<Pagination>,
pub creator_name: Option<String>,
}Expand description
查询人工单
Fields§
§cid: Option<u64>customer_id
symbol: Option<String>symbol,eg. BTC/USD
side: Option<u32>详见公共协议cryptotrade_cmn.OrderSide
manual_ord_type: Option<u32>人工单类型,详见公共协议cryptotrade_cmn.ManualOrdType
status: Option<u32>人工单状态,详见公共协议cryptotrade_cmn.ManualOrdStatus
begin_input_time: Option<i64>查询起始时间
end_input_time: Option<i64>查询结束时间,不填默认当前时间
pagination: Option<Pagination>分页信息,page_size 最大 20
creator_name: Option<String>操作人名字
Implementations§
Source§impl QueryManualOrderReq
impl QueryManualOrderReq
Sourcepub fn symbol(&self) -> &str
pub fn symbol(&self) -> &str
Returns the value of symbol, or the default value if symbol is unset.
Sourcepub fn manual_ord_type(&self) -> u32
pub fn manual_ord_type(&self) -> u32
Returns the value of manual_ord_type, or the default value if manual_ord_type is unset.
Sourcepub fn status(&self) -> u32
pub fn status(&self) -> u32
Returns the value of status, or the default value if status is unset.
Sourcepub fn begin_input_time(&self) -> i64
pub fn begin_input_time(&self) -> i64
Returns the value of begin_input_time, or the default value if begin_input_time is unset.
Sourcepub fn end_input_time(&self) -> i64
pub fn end_input_time(&self) -> i64
Returns the value of end_input_time, or the default value if end_input_time is unset.
Sourcepub fn creator_name(&self) -> &str
pub fn creator_name(&self) -> &str
Returns the value of creator_name, or the default value if creator_name is unset.
Trait Implementations§
Source§impl Clone for QueryManualOrderReq
impl Clone for QueryManualOrderReq
Source§fn clone(&self) -> QueryManualOrderReq
fn clone(&self) -> QueryManualOrderReq
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 QueryManualOrderReq
impl Debug for QueryManualOrderReq
Source§impl Default for QueryManualOrderReq
impl Default for QueryManualOrderReq
Source§impl Hash for QueryManualOrderReq
impl Hash for QueryManualOrderReq
Source§impl Message for QueryManualOrderReq
impl Message for QueryManualOrderReq
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 QueryManualOrderReq
impl PartialEq for QueryManualOrderReq
impl Eq for QueryManualOrderReq
impl StructuralPartialEq for QueryManualOrderReq
Auto Trait Implementations§
impl Freeze for QueryManualOrderReq
impl RefUnwindSafe for QueryManualOrderReq
impl Send for QueryManualOrderReq
impl Sync for QueryManualOrderReq
impl Unpin for QueryManualOrderReq
impl UnsafeUnpin for QueryManualOrderReq
impl UnwindSafe for QueryManualOrderReq
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
§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.