pub struct RoaOrderListReq {
pub msg_header: Option<RoaMsgHeader>,
pub page_size: Option<u32>,
pub page_offset: Option<u32>,
pub start_time: Option<i64>,
pub end_time: Option<i64>,
pub symbol: Option<String>,
pub order_status: Vec<u32>,
pub is_only_my: Option<bool>,
pub order_show_ids: Vec<String>,
pub order_source: Option<u32>,
pub cancel_source: Option<u32>,
}Fields§
§msg_header: Option<RoaMsgHeader>(必填) AccountID必填
page_size: Option<u32>分页大小,最大500
page_offset: Option<u32>§start_time: Option<i64>开始时间,微妙
end_time: Option<i64>结束时间,微妙
symbol: Option<String>§order_status: Vec<u32>订单状态,详见公共协议cryptotrade_cmn的CryptoOrderStatus
is_only_my: Option<bool>是否只查询自己的订单,是则只过滤srpc头里的
order_show_ids: Vec<String>订单展示ID列表,最多50个,超过数量会返回错误。
order_source: Option<u32>订单下单来源,详见公共协议cryptotrade_cmn的InputSourceType
cancel_source: Option<u32>订单撤单(成功)来源,详见公共协议cryptotrade_cmn的InputSourceType
Implementations§
Source§impl RoaOrderListReq
impl RoaOrderListReq
Sourcepub fn page_size(&self) -> u32
pub fn page_size(&self) -> u32
Returns the value of page_size, or the default value if page_size is unset.
Sourcepub fn page_offset(&self) -> u32
pub fn page_offset(&self) -> u32
Returns the value of page_offset, or the default value if page_offset is unset.
Sourcepub fn start_time(&self) -> i64
pub fn start_time(&self) -> i64
Returns the value of start_time, or the default value if start_time is unset.
Sourcepub fn end_time(&self) -> i64
pub fn end_time(&self) -> i64
Returns the value of end_time, or the default value if end_time is unset.
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 is_only_my(&self) -> bool
pub fn is_only_my(&self) -> bool
Returns the value of is_only_my, or the default value if is_only_my is unset.
Sourcepub fn order_source(&self) -> u32
pub fn order_source(&self) -> u32
Returns the value of order_source, or the default value if order_source is unset.
Sourcepub fn cancel_source(&self) -> u32
pub fn cancel_source(&self) -> u32
Returns the value of cancel_source, or the default value if cancel_source is unset.
Trait Implementations§
Source§impl Clone for RoaOrderListReq
impl Clone for RoaOrderListReq
Source§fn clone(&self) -> RoaOrderListReq
fn clone(&self) -> RoaOrderListReq
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RoaOrderListReq
impl Debug for RoaOrderListReq
Source§impl Default for RoaOrderListReq
impl Default for RoaOrderListReq
Source§impl Hash for RoaOrderListReq
impl Hash for RoaOrderListReq
Source§impl Message for RoaOrderListReq
impl Message for RoaOrderListReq
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
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,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
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,
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,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
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,
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,
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,
self.Source§impl PartialEq for RoaOrderListReq
impl PartialEq for RoaOrderListReq
impl Eq for RoaOrderListReq
impl StructuralPartialEq for RoaOrderListReq
Auto Trait Implementations§
impl Freeze for RoaOrderListReq
impl RefUnwindSafe for RoaOrderListReq
impl Send for RoaOrderListReq
impl Sync for RoaOrderListReq
impl Unpin for RoaOrderListReq
impl UnsafeUnpin for RoaOrderListReq
impl UnwindSafe for RoaOrderListReq
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
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
§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
§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
key and return true if they are equal.