pub struct HighQtaAuth {
pub high_qta_auth_info: Vec<HighQtaAuthInfo>,
pub exercise_probability_of_option_flag: Option<u32>,
pub pl_diagram_of_combined_option_flag: Option<u32>,
}Expand description
高级权限相关字段(这里不分市场)
Fields§
§high_qta_auth_info: Vec<HighQtaAuthInfo>§exercise_probability_of_option_flag: Option<u32>老字段会做兼容,后续新增的高级行情卡都用high_qta_auth_info字段。
期权行权概率权限, 1-有权限,0-无权限
pl_diagram_of_combined_option_flag: Option<u32>期权损益图(组合), 1-有权限,0-无权限
Implementations§
Source§impl HighQtaAuth
impl HighQtaAuth
Sourcepub fn exercise_probability_of_option_flag(&self) -> u32
pub fn exercise_probability_of_option_flag(&self) -> u32
Returns the value of exercise_probability_of_option_flag, or the default value if exercise_probability_of_option_flag is unset.
Sourcepub fn pl_diagram_of_combined_option_flag(&self) -> u32
pub fn pl_diagram_of_combined_option_flag(&self) -> u32
Returns the value of pl_diagram_of_combined_option_flag, or the default value if pl_diagram_of_combined_option_flag is unset.
Trait Implementations§
Source§impl Clone for HighQtaAuth
impl Clone for HighQtaAuth
Source§fn clone(&self) -> HighQtaAuth
fn clone(&self) -> HighQtaAuth
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 HighQtaAuth
impl Debug for HighQtaAuth
Source§impl Default for HighQtaAuth
impl Default for HighQtaAuth
Source§impl Message for HighQtaAuth
impl Message for HighQtaAuth
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 HighQtaAuth
impl PartialEq for HighQtaAuth
impl StructuralPartialEq for HighQtaAuth
Auto Trait Implementations§
impl Freeze for HighQtaAuth
impl RefUnwindSafe for HighQtaAuth
impl Send for HighQtaAuth
impl Sync for HighQtaAuth
impl Unpin for HighQtaAuth
impl UnsafeUnpin for HighQtaAuth
impl UnwindSafe for HighQtaAuth
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