pub struct StockEvent {Show 27 fields
pub trade_market: Option<u32>,
pub security_type: Option<u32>,
pub event_id: Option<String>,
pub version: Option<u32>,
pub event_category: Option<String>,
pub event_type: Option<String>,
pub action_type: Option<String>,
pub cancel_flag: Option<bool>,
pub effect_date: Option<u32>,
pub record_date: Option<u32>,
pub payment_date: Option<u32>,
pub security: Option<SecurityIdentity>,
pub business_date: Option<u64>,
pub due_bill_date: Option<u32>,
pub complete_flag: Option<bool>,
pub change_type_list: Vec<String>,
pub offer_type: Option<String>,
pub interim_final_indicator: Option<String>,
pub transferable_flag: Option<String>,
pub intermediate_security_type: Option<String>,
pub lottery_date: Option<u32>,
pub result_date: Option<u32>,
pub min_integral_amount: Option<String>,
pub called_amount: Option<String>,
pub lottery_type: Option<String>,
pub meeting_date: Option<u32>,
pub update_time: Option<u64>,
}Fields§
§trade_market: Option<u32>§security_type: Option<u32>§event_id: Option<String>§version: Option<u32>§event_category: Option<String>§event_type: Option<String>§action_type: Option<String>§cancel_flag: Option<bool>§effect_date: Option<u32>§record_date: Option<u32>§payment_date: Option<u32>§security: Option<SecurityIdentity>§business_date: Option<u64>§due_bill_date: Option<u32>§complete_flag: Option<bool>§change_type_list: Vec<String>§offer_type: Option<String>§interim_final_indicator: Option<String>§transferable_flag: Option<String>§intermediate_security_type: Option<String>§lottery_date: Option<u32>§result_date: Option<u32>§min_integral_amount: Option<String>§called_amount: Option<String>§lottery_type: Option<String>§meeting_date: Option<u32>§update_time: Option<u64>Implementations§
Source§impl StockEvent
impl StockEvent
Sourcepub fn trade_market(&self) -> u32
pub fn trade_market(&self) -> u32
Returns the value of trade_market, or the default value if trade_market is unset.
Sourcepub fn security_type(&self) -> u32
pub fn security_type(&self) -> u32
Returns the value of security_type, or the default value if security_type is unset.
Sourcepub fn event_id(&self) -> &str
pub fn event_id(&self) -> &str
Returns the value of event_id, or the default value if event_id is unset.
Sourcepub fn version(&self) -> u32
pub fn version(&self) -> u32
Returns the value of version, or the default value if version is unset.
Sourcepub fn event_category(&self) -> &str
pub fn event_category(&self) -> &str
Returns the value of event_category, or the default value if event_category is unset.
Sourcepub fn event_type(&self) -> &str
pub fn event_type(&self) -> &str
Returns the value of event_type, or the default value if event_type is unset.
Sourcepub fn action_type(&self) -> &str
pub fn action_type(&self) -> &str
Returns the value of action_type, or the default value if action_type is unset.
Sourcepub fn cancel_flag(&self) -> bool
pub fn cancel_flag(&self) -> bool
Returns the value of cancel_flag, or the default value if cancel_flag is unset.
Sourcepub fn effect_date(&self) -> u32
pub fn effect_date(&self) -> u32
Returns the value of effect_date, or the default value if effect_date is unset.
Sourcepub fn record_date(&self) -> u32
pub fn record_date(&self) -> u32
Returns the value of record_date, or the default value if record_date is unset.
Sourcepub fn payment_date(&self) -> u32
pub fn payment_date(&self) -> u32
Returns the value of payment_date, or the default value if payment_date is unset.
Sourcepub fn business_date(&self) -> u64
pub fn business_date(&self) -> u64
Returns the value of business_date, or the default value if business_date is unset.
Sourcepub fn due_bill_date(&self) -> u32
pub fn due_bill_date(&self) -> u32
Returns the value of due_bill_date, or the default value if due_bill_date is unset.
Sourcepub fn complete_flag(&self) -> bool
pub fn complete_flag(&self) -> bool
Returns the value of complete_flag, or the default value if complete_flag is unset.
Sourcepub fn offer_type(&self) -> &str
pub fn offer_type(&self) -> &str
Returns the value of offer_type, or the default value if offer_type is unset.
Sourcepub fn interim_final_indicator(&self) -> &str
pub fn interim_final_indicator(&self) -> &str
Returns the value of interim_final_indicator, or the default value if interim_final_indicator is unset.
Sourcepub fn transferable_flag(&self) -> &str
pub fn transferable_flag(&self) -> &str
Returns the value of transferable_flag, or the default value if transferable_flag is unset.
Sourcepub fn intermediate_security_type(&self) -> &str
pub fn intermediate_security_type(&self) -> &str
Returns the value of intermediate_security_type, or the default value if intermediate_security_type is unset.
Sourcepub fn lottery_date(&self) -> u32
pub fn lottery_date(&self) -> u32
Returns the value of lottery_date, or the default value if lottery_date is unset.
Sourcepub fn result_date(&self) -> u32
pub fn result_date(&self) -> u32
Returns the value of result_date, or the default value if result_date is unset.
Sourcepub fn min_integral_amount(&self) -> &str
pub fn min_integral_amount(&self) -> &str
Returns the value of min_integral_amount, or the default value if min_integral_amount is unset.
Sourcepub fn called_amount(&self) -> &str
pub fn called_amount(&self) -> &str
Returns the value of called_amount, or the default value if called_amount is unset.
Sourcepub fn lottery_type(&self) -> &str
pub fn lottery_type(&self) -> &str
Returns the value of lottery_type, or the default value if lottery_type is unset.
Sourcepub fn meeting_date(&self) -> u32
pub fn meeting_date(&self) -> u32
Returns the value of meeting_date, or the default value if meeting_date is unset.
Sourcepub fn update_time(&self) -> u64
pub fn update_time(&self) -> u64
Returns the value of update_time, or the default value if update_time is unset.
Trait Implementations§
Source§impl Clone for StockEvent
impl Clone for StockEvent
Source§fn clone(&self) -> StockEvent
fn clone(&self) -> StockEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StockEvent
impl Debug for StockEvent
Source§impl Default for StockEvent
impl Default for StockEvent
Source§impl<'de> Deserialize<'de> for StockEventwhere
StockEvent: Default,
impl<'de> Deserialize<'de> for StockEventwhere
StockEvent: 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>,
impl Eq for StockEvent
Source§impl Hash for StockEvent
impl Hash for StockEvent
Source§impl Message for StockEvent
impl Message for StockEvent
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.Source§impl PartialEq for StockEvent
impl PartialEq for StockEvent
Source§fn eq(&self, other: &StockEvent) -> bool
fn eq(&self, other: &StockEvent) -> bool
self and other values to be equal, and is used by ==.