pub struct FlowSummaryItem {Show 33 fields
pub id: u64,
pub biz_type: i32,
pub tid: String,
pub aas_biz_type_id: i32,
pub biz_id: String,
pub status: String,
pub related_biz_id: String,
pub account_id: i64,
pub client_category: String,
pub account_type: String,
pub settlement_type: String,
pub market: i32,
pub clearing_date: i32,
pub settlement_date: i32,
pub cash_settlement_date: i32,
pub security_type: i32,
pub exchange: String,
pub clearing_firm: String,
pub symbol: String,
pub trade_type: String,
pub quantity: String,
pub price: String,
pub ccy: String,
pub net_amount: String,
pub total_fee: String,
pub biz_create_time: i64,
pub comment: String,
pub notes: String,
pub sub_account_id: u64,
pub position_id: String,
pub trade_flag: i32,
pub cid: u64,
pub fill_id: String,
}Fields§
§id: u64主键ID
biz_type: i32业务类型
tid: String在同一个biz_type下的唯一标识
aas_biz_type_id: i32资产系统的biz_type_id
biz_id: String原始业务 id
status: String冲正状态, 可选值 R: 新建, C: 冲正
冲正关联 biz_id
account_id: i64账户 id
client_category: String客户种类: House, Client, Test
account_type: String账户类型: Cash, Margin
settlement_type: String结算类型: DVP, SK
market: i32市场 id
clearing_date: i32结算日
settlement_date: i32货交收日
cash_settlement_date: i32钱交收日
security_type: i32证券类型
exchange: String交易所
clearing_firm: String清算所
symbol: String证券类资产代码
trade_type: String交易类型标记买和卖
quantity: String证券类资产变动数量
price: String证券类资产单价
ccy: String货币类型
net_amount: String净货币变动
total_fee: String总费用
biz_create_time: i64业务创建时间
comment: String业务备注
notes: String业务备注, bos专用
sub_account_id: u64子账户 id
position_id: String持仓ID
trade_flag: i32是否交易单
cid: u64customer id
fill_id: String成交 id
Trait Implementations§
Source§impl Clone for FlowSummaryItem
impl Clone for FlowSummaryItem
Source§fn clone(&self) -> FlowSummaryItem
fn clone(&self) -> FlowSummaryItem
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 FlowSummaryItem
impl Debug for FlowSummaryItem
Source§impl Default for FlowSummaryItem
impl Default for FlowSummaryItem
Source§impl Hash for FlowSummaryItem
impl Hash for FlowSummaryItem
Source§impl Message for FlowSummaryItem
impl Message for FlowSummaryItem
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 FlowSummaryItem
impl PartialEq for FlowSummaryItem
impl Eq for FlowSummaryItem
impl StructuralPartialEq for FlowSummaryItem
Auto Trait Implementations§
impl Freeze for FlowSummaryItem
impl RefUnwindSafe for FlowSummaryItem
impl Send for FlowSummaryItem
impl Sync for FlowSummaryItem
impl Unpin for FlowSummaryItem
impl UnsafeUnpin for FlowSummaryItem
impl UnwindSafe for FlowSummaryItem
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.