pub struct GetPositionLogReq {
pub process_date_begin: Option<u32>,
pub process_date_end: Option<u32>,
pub account: Option<Account>,
pub symbol: Vec<String>,
pub biz_type_id: Option<u32>,
pub biz_flow_id: Option<String>,
pub page_number: Option<u32>,
pub page_size: Option<u32>,
}Expand description
查询持仓流水
Fields§
§process_date_begin: Option<u32>变更所属周期,biz_flow_id为空时必填
process_date_end: Option<u32>变更所属周期,biz_flow_id为空时必填
account: Option<Account>账号
symbol: Vec<String>币种,比如BTC、ETH,不填返回所有
biz_type_id: Option<u32>业务系统变更类型,biz_flow_id为空时必填
biz_flow_id: Option<String>业务系统流水ID
page_number: Option<u32>页码,从1开始
page_size: Option<u32>每页大小,最多1000
Implementations§
Source§impl GetPositionLogReq
impl GetPositionLogReq
Sourcepub fn process_date_begin(&self) -> u32
pub fn process_date_begin(&self) -> u32
Returns the value of process_date_begin, or the default value if process_date_begin is unset.
Sourcepub fn process_date_end(&self) -> u32
pub fn process_date_end(&self) -> u32
Returns the value of process_date_end, or the default value if process_date_end is unset.
Sourcepub fn biz_type_id(&self) -> u32
pub fn biz_type_id(&self) -> u32
Returns the value of biz_type_id, or the default value if biz_type_id is unset.
Sourcepub fn biz_flow_id(&self) -> &str
pub fn biz_flow_id(&self) -> &str
Returns the value of biz_flow_id, or the default value if biz_flow_id is unset.
Sourcepub fn page_number(&self) -> u32
pub fn page_number(&self) -> u32
Returns the value of page_number, or the default value if page_number is unset.
Trait Implementations§
Source§impl Clone for GetPositionLogReq
impl Clone for GetPositionLogReq
Source§fn clone(&self) -> GetPositionLogReq
fn clone(&self) -> GetPositionLogReq
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 GetPositionLogReq
impl Debug for GetPositionLogReq
Source§impl Default for GetPositionLogReq
impl Default for GetPositionLogReq
Source§impl Hash for GetPositionLogReq
impl Hash for GetPositionLogReq
Source§impl Message for GetPositionLogReq
impl Message for GetPositionLogReq
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 GetPositionLogReq
impl PartialEq for GetPositionLogReq
impl Eq for GetPositionLogReq
impl StructuralPartialEq for GetPositionLogReq
Auto Trait Implementations§
impl Freeze for GetPositionLogReq
impl RefUnwindSafe for GetPositionLogReq
impl Send for GetPositionLogReq
impl Sync for GetPositionLogReq
impl Unpin for GetPositionLogReq
impl UnsafeUnpin for GetPositionLogReq
impl UnwindSafe for GetPositionLogReq
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.