pub struct FlowSummaryInfo {
pub clearing_date: Option<String>,
pub settlement_date: Option<String>,
pub currency: Option<i32>,
pub cash_flow_type: Option<String>,
pub cash_flow_direction: Option<i32>,
pub cash_flow_amount: Option<f64>,
pub cash_flow_remark: Option<String>,
pub cash_flow_id: Option<u64>,
}Fields§
§clearing_date: Option<String>清算日期
settlement_date: Option<String>结算日期
currency: Option<i32>币种
cash_flow_type: Option<String>现金流类型
cash_flow_direction: Option<i32>现金流方向 TrdCashFlowDirection
cash_flow_amount: Option<f64>金额
cash_flow_remark: Option<String>备注
cash_flow_id: Option<u64>现金流ID
Implementations§
Source§impl FlowSummaryInfo
impl FlowSummaryInfo
Sourcepub fn clearing_date(&self) -> &str
pub fn clearing_date(&self) -> &str
Returns the value of clearing_date, or the default value if clearing_date is unset.
Sourcepub fn settlement_date(&self) -> &str
pub fn settlement_date(&self) -> &str
Returns the value of settlement_date, or the default value if settlement_date is unset.
Sourcepub fn currency(&self) -> i32
pub fn currency(&self) -> i32
Returns the value of currency, or the default value if currency is unset.
Sourcepub fn cash_flow_type(&self) -> &str
pub fn cash_flow_type(&self) -> &str
Returns the value of cash_flow_type, or the default value if cash_flow_type is unset.
Sourcepub fn cash_flow_direction(&self) -> i32
pub fn cash_flow_direction(&self) -> i32
Returns the value of cash_flow_direction, or the default value if cash_flow_direction is unset.
Sourcepub fn cash_flow_amount(&self) -> f64
pub fn cash_flow_amount(&self) -> f64
Returns the value of cash_flow_amount, or the default value if cash_flow_amount is unset.
Sourcepub fn cash_flow_remark(&self) -> &str
pub fn cash_flow_remark(&self) -> &str
Returns the value of cash_flow_remark, or the default value if cash_flow_remark is unset.
Sourcepub fn cash_flow_id(&self) -> u64
pub fn cash_flow_id(&self) -> u64
Returns the value of cash_flow_id, or the default value if cash_flow_id is unset.
Trait Implementations§
Source§impl Clone for FlowSummaryInfo
impl Clone for FlowSummaryInfo
Source§fn clone(&self) -> FlowSummaryInfo
fn clone(&self) -> FlowSummaryInfo
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 FlowSummaryInfo
impl Debug for FlowSummaryInfo
Source§impl Default for FlowSummaryInfo
impl Default for FlowSummaryInfo
Source§impl<'de> Deserialize<'de> for FlowSummaryInfowhere
FlowSummaryInfo: Default,
impl<'de> Deserialize<'de> for FlowSummaryInfowhere
FlowSummaryInfo: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for FlowSummaryInfo
impl Message for FlowSummaryInfo
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 FlowSummaryInfo
impl PartialEq for FlowSummaryInfo
Source§impl Serialize for FlowSummaryInfo
impl Serialize for FlowSummaryInfo
impl StructuralPartialEq for FlowSummaryInfo
Auto Trait Implementations§
impl Freeze for FlowSummaryInfo
impl RefUnwindSafe for FlowSummaryInfo
impl Send for FlowSummaryInfo
impl Sync for FlowSummaryInfo
impl Unpin for FlowSummaryInfo
impl UnwindSafe for FlowSummaryInfo
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