pub struct Trust {
pub dividend_yield: Option<i64>,
pub aum: Option<u64>,
pub outstanding_units: Option<u64>,
pub net_asset_value: Option<u64>,
pub premium: Option<i64>,
pub asset_class_sc: Option<String>,
pub asset_class_tc: Option<String>,
pub asset_class_en: Option<String>,
pub asset_class: Option<u32>,
}Expand description
基金类型
Fields§
§dividend_yield: Option<i64>股息率, 10^5
aum: Option<u64>资产规模
outstanding_units: Option<u64>总发行量
net_asset_value: Option<u64>单位净值, 10^9
溢价,[放大10^5倍],前端展示百分比
asset_class_sc: Option<String>资产类别(简体中文)
asset_class_tc: Option<String>资产类别(繁体中文)
asset_class_en: Option<String>资产类别(英文)
asset_class: Option<u32>资产类别 2-股票,3-债券,14-商品,15-货币市场,16-期货,17-掉期
Implementations§
Source§impl Trust
impl Trust
Sourcepub fn dividend_yield(&self) -> i64
pub fn dividend_yield(&self) -> i64
Returns the value of dividend_yield, or the default value if dividend_yield is unset.
Sourcepub fn outstanding_units(&self) -> u64
pub fn outstanding_units(&self) -> u64
Returns the value of outstanding_units, or the default value if outstanding_units is unset.
Sourcepub fn net_asset_value(&self) -> u64
pub fn net_asset_value(&self) -> u64
Returns the value of net_asset_value, or the default value if net_asset_value is unset.
Returns the value of premium, or the default value if premium is unset.
Sourcepub fn asset_class_sc(&self) -> &str
pub fn asset_class_sc(&self) -> &str
Returns the value of asset_class_sc, or the default value if asset_class_sc is unset.
Sourcepub fn asset_class_tc(&self) -> &str
pub fn asset_class_tc(&self) -> &str
Returns the value of asset_class_tc, or the default value if asset_class_tc is unset.
Sourcepub fn asset_class_en(&self) -> &str
pub fn asset_class_en(&self) -> &str
Returns the value of asset_class_en, or the default value if asset_class_en is unset.
Sourcepub fn asset_class(&self) -> u32
pub fn asset_class(&self) -> u32
Returns the value of asset_class, or the default value if asset_class is unset.
Trait Implementations§
Source§impl Message for Trust
impl Message for Trust
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 Trust
impl StructuralPartialEq for Trust
Auto Trait Implementations§
impl Freeze for Trust
impl RefUnwindSafe for Trust
impl Send for Trust
impl Sync for Trust
impl Unpin for Trust
impl UnsafeUnpin for Trust
impl UnwindSafe for Trust
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.