pub struct AccountInfoRsp {
pub msg_header: Option<MsgHeader>,
pub result: Option<i32>,
pub err_msg: Option<String>,
pub union_fund_info: Option<AccFundInfo>,
pub union_today_statistic: Option<TodayTrdStatistic>,
pub union_cash_info: Option<AccCashInfo>,
pub fund_info_list: Vec<AccFundInfo>,
pub today_statistic_list: Vec<TodayTrdStatistic>,
pub cash_info_list: Vec<AccCashInfo>,
pub pstn_info_list: Vec<AccPstnInfo>,
pub position_limit_info: Option<PositionLimitInfo>,
}Fields§
§msg_header: Option<MsgHeader>§result: Option<i32>已废弃,错误按照新的错误码规范放到回包头, 参考 https://futu.feishu.cn/wiki/VRVwwIPxvigq5ikPwGWc1WCon5c
err_msg: Option<String>已废弃,错误按照新的错误码规范放到回包头, 参考 https://futu.feishu.cn/wiki/VRVwwIPxvigq5ikPwGWc1WCon5c
union_fund_info: Option<AccFundInfo>统一成换算币种的资金信息
union_today_statistic: Option<TodayTrdStatistic>统一成换算币种的今日交易统计信息 (本期需求不要求返回今日相关信息, union_today_statistic不涉及到今日相关的字段)
union_cash_info: Option<AccCashInfo>统一成换算币种的现金信息列表
fund_info_list: Vec<AccFundInfo>这里数字货币fund_info_list和today_statistic_list不会返回分币种的市值和资产净值等涉及到持仓相关信息(因为数字货币持仓没法归到某个币种)
分币种的资金信息列表
today_statistic_list: Vec<TodayTrdStatistic>分币种的今日交易统计信息列表 (本期需求不要求返回今日相关信息, 且数字货币持仓没法归到某个币种, 本字段不返回)
cash_info_list: Vec<AccCashInfo>分币种的现金信息列表
pstn_info_list: Vec<AccPstnInfo>分币种的证券持仓信息列表
position_limit_info: Option<PositionLimitInfo>持仓限额信息(HK特有)
Implementations§
Trait Implementations§
Source§impl Clone for AccountInfoRsp
impl Clone for AccountInfoRsp
Source§fn clone(&self) -> AccountInfoRsp
fn clone(&self) -> AccountInfoRsp
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 AccountInfoRsp
impl Debug for AccountInfoRsp
Source§impl Default for AccountInfoRsp
impl Default for AccountInfoRsp
Source§impl Message for AccountInfoRsp
impl Message for AccountInfoRsp
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 AccountInfoRsp
impl PartialEq for AccountInfoRsp
impl StructuralPartialEq for AccountInfoRsp
Auto Trait Implementations§
impl Freeze for AccountInfoRsp
impl RefUnwindSafe for AccountInfoRsp
impl Send for AccountInfoRsp
impl Sync for AccountInfoRsp
impl Unpin for AccountInfoRsp
impl UnsafeUnpin for AccountInfoRsp
impl UnwindSafe for AccountInfoRsp
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