pub struct CashLog {Show 15 fields
pub id: Option<u64>,
pub log_id: Option<u64>,
pub process_date: Option<u32>,
pub account_id: Option<u64>,
pub market: Option<u32>,
pub broker_id: Option<u32>,
pub currency: Option<String>,
pub quantity: Option<String>,
pub change_after: Option<String>,
pub exchange: Option<String>,
pub settle_date: Option<u32>,
pub biz_type_id: Option<u32>,
pub biz_flow_id: Option<String>,
pub created_time: Option<u64>,
pub version: Option<i64>,
}Fields§
§id: Option<u64>现金流水id
log_id: Option<u64>变更流水id
process_date: Option<u32>变更所属周期,记账日
account_id: Option<u64>账户号码
market: Option<u32>所属市场
broker_id: Option<u32>券商id
currency: Option<String>货币代码,比如HKD、USD
quantity: Option<String>变更数量
change_after: Option<String>变更后余额
exchange: Option<String>交易所
settle_date: Option<u32>交收日(0:立即交收, 99999999:结算后交收)
biz_type_id: Option<u32>变更类型id
biz_flow_id: Option<String>业务系统流水id
created_time: Option<u64>流水生成时间
version: Option<i64>变更后的实时资产version
Implementations§
Source§impl CashLog
impl CashLog
Sourcepub fn process_date(&self) -> u32
pub fn process_date(&self) -> u32
Returns the value of process_date, or the default value if process_date is unset.
Sourcepub fn account_id(&self) -> u64
pub fn account_id(&self) -> u64
Returns the value of account_id, or the default value if account_id is unset.
Sourcepub fn market(&self) -> u32
pub fn market(&self) -> u32
Returns the value of market, or the default value if market is unset.
Sourcepub fn broker_id(&self) -> u32
pub fn broker_id(&self) -> u32
Returns the value of broker_id, or the default value if broker_id is unset.
Sourcepub fn currency(&self) -> &str
pub fn currency(&self) -> &str
Returns the value of currency, or the default value if currency is unset.
Sourcepub fn quantity(&self) -> &str
pub fn quantity(&self) -> &str
Returns the value of quantity, or the default value if quantity is unset.
Sourcepub fn change_after(&self) -> &str
pub fn change_after(&self) -> &str
Returns the value of change_after, or the default value if change_after is unset.
Sourcepub fn exchange(&self) -> &str
pub fn exchange(&self) -> &str
Returns the value of exchange, or the default value if exchange is unset.
Sourcepub fn settle_date(&self) -> u32
pub fn settle_date(&self) -> u32
Returns the value of settle_date, or the default value if settle_date 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 created_time(&self) -> u64
pub fn created_time(&self) -> u64
Returns the value of created_time, or the default value if created_time is unset.
Trait Implementations§
Source§impl Message for CashLog
impl Message for CashLog
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.impl Eq for CashLog
impl StructuralPartialEq for CashLog
Auto Trait Implementations§
impl Freeze for CashLog
impl RefUnwindSafe for CashLog
impl Send for CashLog
impl Sync for CashLog
impl Unpin for CashLog
impl UnsafeUnpin for CashLog
impl UnwindSafe for CashLog
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.