Skip to main content

HkApplyMessage

Struct HkApplyMessage 

Source
pub struct HkApplyMessage {
Show 44 fields pub ipo_price_range: Option<String>, pub ipo_price: Option<String>, pub lot_size: Option<String>, pub entrance_fee: Option<String>, pub eipo_flag: Option<u32>, pub margin_fee_ratio: Option<u32>, pub margin_lever_ratio: Option<u32>, pub sponsor: Option<String>, pub market_cap: Option<String>, pub publish_shares: Option<String>, pub apply_multiple: Option<String>, pub lucky_ratio: Option<String>, pub ipo_book_pdf: Option<String>, pub ipo_book_link: Option<String>, pub start_apply_flag: Option<u32>, pub industry_name: Option<String>, pub industry_code: Option<u32>, pub fund_purposes: Vec<String>, pub ipo_price_low: Option<u32>, pub ipo_price_high: Option<u32>, pub entrance_fee_num: Option<u32>, pub international_placing_apply_limit: Option<u32>, pub margin_fee_ratio_low: Option<u32>, pub margin_fee_ratio_high: Option<u32>, pub international_placing_apply_limit_str: Option<String>, pub apply_step_list: Vec<u32>, pub lot_size_num: Option<u32>, pub security_type: Option<i32>, pub offer_type: Option<i32>, pub is_support_dark_trade: Option<i32>, pub tranche_warrant: Option<String>, pub etf_distributors: Option<String>, pub etf_introduction_link: Option<String>, pub etf_prospectus_link: Option<String>, pub min_apply_shares: Option<i64>, pub real_margin_lever_ratio: Option<u32>, pub etf_ipo_price_display: Option<String>, pub ipo_detail: Option<UserApplyDetail>, pub placing_detail: Option<UserApplyDetail>, pub etf_apply_detail: Option<UserApplyDetail>, pub clawback_type: Option<i32>, pub public_ratio: Option<i32>, pub clawback: Option<String>, pub public_share_rate_show: Option<String>,
}
Expand description

港股申购及基础详情

Fields§

§ipo_price_range: Option<String>

发售价范围

§ipo_price: Option<String>

上市价

§lot_size: Option<String>

每手股数

§entrance_fee: Option<String>

入场费

§eipo_flag: Option<u32>

是否支持认购,0-不支持,其它-支持

§margin_fee_ratio: Option<u32>

融资认购利率,放大100000,例如12345表示12.345%.如果后台没有数据,则不返回这个字段

§margin_lever_ratio: Option<u32>

融资杠杆倍数,放大1000倍,例如5000表示5倍.如果后台没有数据,则不返回这个字段

§sponsor: Option<String>

保荐人.如果后台没有数据,则返回’–’

§market_cap: Option<String>

发行市值.如果后台没有数据,则返回’–’

§publish_shares: Option<String>

发行量.如果后台没有数据,则返回’–’

§apply_multiple: Option<String>

申购倍数.如果后台没有数据,则返回’–’

§lucky_ratio: Option<String>

一手中签率.如果后台没有数据,则返回’–’

§ipo_book_pdf: Option<String>

招股书PDF链接.如果后台没有数据,则不返回该字段

§ipo_book_link: Option<String>

原始招股书链接.如果后台没有数据,则不返回该字段

§start_apply_flag: Option<u32>

是否开始认购。0-未开始,1-已开始

§industry_name: Option<String>

行业名

§industry_code: Option<u32>

行业id

§fund_purposes: Vec<String>

募資用途 募资用途可能有几点,每点为一个string

§ipo_price_low: Option<u32>

发售价下界,保留两位精度(即123代表1.23)

§ipo_price_high: Option<u32>

发售价上界,保留两位精度(即123代表1.23)ipo_price_low和ipo_price_high 组成了发售价区间

§entrance_fee_num: Option<u32>

入场费,保留2位精度,即123456表示 1234.56

§international_placing_apply_limit: Option<u32>

国际配售最低认购金额

§margin_fee_ratio_low: Option<u32>

最低融资认购利率

§margin_fee_ratio_high: Option<u32>

最高融资认购利率

§international_placing_apply_limit_str: Option<String>

国际配售最低认购金额文本

§apply_step_list: Vec<u32>

认购梯度

§lot_size_num: Option<u32>

数值形式的每手股数

§security_type: Option<i32>

股票类型

§offer_type: Option<i32>

新股发售类型

§is_support_dark_trade: Option<i32>

是否支持暗盘交易

§tranche_warrant: Option<String>

SPAC权证权利

§etf_distributors: Option<String>

ETF发行公司

§etf_introduction_link: Option<String>

ETF产品概要文件链接

§etf_prospectus_link: Option<String>

ETF发行章程文件链接

§min_apply_shares: Option<i64>

最少认购股数

§real_margin_lever_ratio: Option<u32>

实际可用融资杠杆倍数

§etf_ipo_price_display: Option<String>

ETF发行价展示文案

§ipo_detail: Option<UserApplyDetail>

公开认购详情

§placing_detail: Option<UserApplyDetail>

国际配售认购详情

§etf_apply_detail: Option<UserApplyDetail>

ETF认购详情

§clawback_type: Option<i32>

回拨机制类型

§public_ratio: Option<i32>

公开发售比例

§clawback: Option<String>

回拨机制

§public_share_rate_show: Option<String>

公开发售比例展示

Implementations§

Source§

impl HkApplyMessage

Source

pub fn ipo_price_range(&self) -> &str

Returns the value of ipo_price_range, or the default value if ipo_price_range is unset.

Source

pub fn ipo_price(&self) -> &str

Returns the value of ipo_price, or the default value if ipo_price is unset.

Source

pub fn lot_size(&self) -> &str

Returns the value of lot_size, or the default value if lot_size is unset.

Source

pub fn entrance_fee(&self) -> &str

Returns the value of entrance_fee, or the default value if entrance_fee is unset.

Source

pub fn eipo_flag(&self) -> u32

Returns the value of eipo_flag, or the default value if eipo_flag is unset.

Source

pub fn margin_fee_ratio(&self) -> u32

Returns the value of margin_fee_ratio, or the default value if margin_fee_ratio is unset.

Source

pub fn margin_lever_ratio(&self) -> u32

Returns the value of margin_lever_ratio, or the default value if margin_lever_ratio is unset.

Source

pub fn sponsor(&self) -> &str

Returns the value of sponsor, or the default value if sponsor is unset.

Source

pub fn market_cap(&self) -> &str

Returns the value of market_cap, or the default value if market_cap is unset.

Source

pub fn publish_shares(&self) -> &str

Returns the value of publish_shares, or the default value if publish_shares is unset.

Source

pub fn apply_multiple(&self) -> &str

Returns the value of apply_multiple, or the default value if apply_multiple is unset.

Source

pub fn lucky_ratio(&self) -> &str

Returns the value of lucky_ratio, or the default value if lucky_ratio is unset.

Source

pub fn ipo_book_pdf(&self) -> &str

Returns the value of ipo_book_pdf, or the default value if ipo_book_pdf is unset.

Returns the value of ipo_book_link, or the default value if ipo_book_link is unset.

Source

pub fn start_apply_flag(&self) -> u32

Returns the value of start_apply_flag, or the default value if start_apply_flag is unset.

Source

pub fn industry_name(&self) -> &str

Returns the value of industry_name, or the default value if industry_name is unset.

Source

pub fn industry_code(&self) -> u32

Returns the value of industry_code, or the default value if industry_code is unset.

Source

pub fn ipo_price_low(&self) -> u32

Returns the value of ipo_price_low, or the default value if ipo_price_low is unset.

Source

pub fn ipo_price_high(&self) -> u32

Returns the value of ipo_price_high, or the default value if ipo_price_high is unset.

Source

pub fn entrance_fee_num(&self) -> u32

Returns the value of entrance_fee_num, or the default value if entrance_fee_num is unset.

Source

pub fn international_placing_apply_limit(&self) -> u32

Returns the value of international_placing_apply_limit, or the default value if international_placing_apply_limit is unset.

Source

pub fn margin_fee_ratio_low(&self) -> u32

Returns the value of margin_fee_ratio_low, or the default value if margin_fee_ratio_low is unset.

Source

pub fn margin_fee_ratio_high(&self) -> u32

Returns the value of margin_fee_ratio_high, or the default value if margin_fee_ratio_high is unset.

Source

pub fn international_placing_apply_limit_str(&self) -> &str

Returns the value of international_placing_apply_limit_str, or the default value if international_placing_apply_limit_str is unset.

Source

pub fn lot_size_num(&self) -> u32

Returns the value of lot_size_num, or the default value if lot_size_num is unset.

Source

pub fn security_type(&self) -> i32

Returns the value of security_type, or the default value if security_type is unset.

Source

pub fn offer_type(&self) -> i32

Returns the value of offer_type, or the default value if offer_type is unset.

Source

pub fn is_support_dark_trade(&self) -> i32

Returns the value of is_support_dark_trade, or the default value if is_support_dark_trade is unset.

Source

pub fn tranche_warrant(&self) -> &str

Returns the value of tranche_warrant, or the default value if tranche_warrant is unset.

Source

pub fn etf_distributors(&self) -> &str

Returns the value of etf_distributors, or the default value if etf_distributors is unset.

Returns the value of etf_introduction_link, or the default value if etf_introduction_link is unset.

Returns the value of etf_prospectus_link, or the default value if etf_prospectus_link is unset.

Source

pub fn min_apply_shares(&self) -> i64

Returns the value of min_apply_shares, or the default value if min_apply_shares is unset.

Source

pub fn real_margin_lever_ratio(&self) -> u32

Returns the value of real_margin_lever_ratio, or the default value if real_margin_lever_ratio is unset.

Source

pub fn etf_ipo_price_display(&self) -> &str

Returns the value of etf_ipo_price_display, or the default value if etf_ipo_price_display is unset.

Source

pub fn clawback_type(&self) -> i32

Returns the value of clawback_type, or the default value if clawback_type is unset.

Source

pub fn public_ratio(&self) -> i32

Returns the value of public_ratio, or the default value if public_ratio is unset.

Source

pub fn clawback(&self) -> &str

Returns the value of clawback, or the default value if clawback is unset.

Source

pub fn public_share_rate_show(&self) -> &str

Returns the value of public_share_rate_show, or the default value if public_share_rate_show is unset.

Trait Implementations§

Source§

impl Clone for HkApplyMessage

Source§

fn clone(&self) -> HkApplyMessage

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for HkApplyMessage

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for HkApplyMessage

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Hash for HkApplyMessage

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Message for HkApplyMessage

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

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,

Encodes the message to a newly allocated buffer.
Source§

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,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

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,

Decodes a length-delimited instance of the message from the buffer.
Source§

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 more
Source§

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 HkApplyMessage

Source§

fn eq(&self, other: &HkApplyMessage) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for HkApplyMessage

Source§

impl StructuralPartialEq for HkApplyMessage

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more