pub struct SecurityStaticInfo {
pub basic: SecurityStaticBasic,
pub warrant_ex_data: Option<WarrantStaticExData>,
pub option_ex_data: Option<OptionStaticExData>,
pub future_ex_data: Option<FutureStaticExData>,
}Fields§
§basic: SecurityStaticBasic基本股票静态信息
warrant_ex_data: Option<WarrantStaticExData>窝轮额外股票静态信息
option_ex_data: Option<OptionStaticExData>期权额外股票静态信息
future_ex_data: Option<FutureStaticExData>期货额外股票静态信息
Trait Implementations§
Source§impl Clone for SecurityStaticInfo
impl Clone for SecurityStaticInfo
Source§fn clone(&self) -> SecurityStaticInfo
fn clone(&self) -> SecurityStaticInfo
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 SecurityStaticInfo
impl Debug for SecurityStaticInfo
Source§impl Default for SecurityStaticInfo
impl Default for SecurityStaticInfo
Source§impl<'de> Deserialize<'de> for SecurityStaticInfowhere
SecurityStaticInfo: Default,
impl<'de> Deserialize<'de> for SecurityStaticInfowhere
SecurityStaticInfo: 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 Message for SecurityStaticInfo
impl Message for SecurityStaticInfo
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 SecurityStaticInfo
impl PartialEq for SecurityStaticInfo
Source§impl Serialize for SecurityStaticInfo
impl Serialize for SecurityStaticInfo
impl StructuralPartialEq for SecurityStaticInfo
Auto Trait Implementations§
impl Freeze for SecurityStaticInfo
impl RefUnwindSafe for SecurityStaticInfo
impl Send for SecurityStaticInfo
impl Sync for SecurityStaticInfo
impl Unpin for SecurityStaticInfo
impl UnwindSafe for SecurityStaticInfo
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