pub struct PropertyFinancial {
pub name: Option<i32>,
pub term: Option<i32>,
pub duration: Option<i64>,
pub year: Option<i32>,
pub period_average: Option<i32>,
pub future_duration: Option<i32>,
}Fields§
§name: Option<i32>PropertyNameFinancial: 4101=净利润, 4102=净利润增长率, …
term: Option<i32>Term: 1=Q1, 2=Q2, 100=年报, 10=最新单季, …
duration: Option<i64>时间跨度 [1,9], 成长能力因子专用
year: Option<i32>年份 (2024/2023/…)
period_average: Option<i32>周期平均
future_duration: Option<i32>未来时间段, 参考 FutureDuration
Implementations§
Source§impl PropertyFinancial
impl PropertyFinancial
Sourcepub fn duration(&self) -> i64
pub fn duration(&self) -> i64
Returns the value of duration, or the default value if duration is unset.
Sourcepub fn period_average(&self) -> i32
pub fn period_average(&self) -> i32
Returns the value of period_average, or the default value if period_average is unset.
Sourcepub fn future_duration(&self) -> i32
pub fn future_duration(&self) -> i32
Returns the value of future_duration, or the default value if future_duration is unset.
Trait Implementations§
Source§impl Clone for PropertyFinancial
impl Clone for PropertyFinancial
Source§fn clone(&self) -> PropertyFinancial
fn clone(&self) -> PropertyFinancial
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 PropertyFinancial
impl Debug for PropertyFinancial
Source§impl Default for PropertyFinancial
impl Default for PropertyFinancial
Source§impl<'de> Deserialize<'de> for PropertyFinancialwhere
PropertyFinancial: Default,
impl<'de> Deserialize<'de> for PropertyFinancialwhere
PropertyFinancial: 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 Hash for PropertyFinancial
impl Hash for PropertyFinancial
Source§impl Message for PropertyFinancial
impl Message for PropertyFinancial
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 PropertyFinancial
impl PartialEq for PropertyFinancial
Source§impl Serialize for PropertyFinancial
impl Serialize for PropertyFinancial
impl Copy for PropertyFinancial
impl Eq for PropertyFinancial
impl StructuralPartialEq for PropertyFinancial
Auto Trait Implementations§
impl Freeze for PropertyFinancial
impl RefUnwindSafe for PropertyFinancial
impl Send for PropertyFinancial
impl Sync for PropertyFinancial
impl Unpin for PropertyFinancial
impl UnsafeUnpin for PropertyFinancial
impl UnwindSafe for PropertyFinancial
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