pub struct QuoteChangeItem {
pub quote_type: Option<i32>,
pub quote_before_change: Option<i32>,
pub quote_after_change: Option<i32>,
pub clt_type: Option<i32>,
pub ip_area: Option<i32>,
}Fields§
§quote_type: Option<i32>行情品种(参考QuoteType)
quote_before_change: Option<i32>被踢前的行情权限 取值取决于行情品种quote_type, 参考quote_auth_svr.proto(server内部用)或FTCmdQtaAuth6024.proto(客户端用)中各行情品种权限枚举值。对于开关类的权限则1表示有权限,0表示无权限
quote_after_change: Option<i32>被踢后的行情权限,有可能是不准确的,客户端不要依赖该值,以重新登录后获取到的实际权限为准
clt_type: Option<i32>受影响终端类型,客户端不用关心该字段。
ip_area: Option<i32>受影响地域,客户端不用关心该字段。
Implementations§
Source§impl QuoteChangeItem
impl QuoteChangeItem
Sourcepub fn quote_type(&self) -> i32
pub fn quote_type(&self) -> i32
Returns the value of quote_type, or the default value if quote_type is unset.
Sourcepub fn quote_before_change(&self) -> i32
pub fn quote_before_change(&self) -> i32
Returns the value of quote_before_change, or the default value if quote_before_change is unset.
Sourcepub fn quote_after_change(&self) -> i32
pub fn quote_after_change(&self) -> i32
Returns the value of quote_after_change, or the default value if quote_after_change is unset.
Trait Implementations§
Source§impl Clone for QuoteChangeItem
impl Clone for QuoteChangeItem
Source§fn clone(&self) -> QuoteChangeItem
fn clone(&self) -> QuoteChangeItem
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 QuoteChangeItem
impl Debug for QuoteChangeItem
Source§impl Default for QuoteChangeItem
impl Default for QuoteChangeItem
Source§impl Hash for QuoteChangeItem
impl Hash for QuoteChangeItem
Source§impl Message for QuoteChangeItem
impl Message for QuoteChangeItem
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 QuoteChangeItem
impl PartialEq for QuoteChangeItem
impl Copy for QuoteChangeItem
impl Eq for QuoteChangeItem
impl StructuralPartialEq for QuoteChangeItem
Auto Trait Implementations§
impl Freeze for QuoteChangeItem
impl RefUnwindSafe for QuoteChangeItem
impl Send for QuoteChangeItem
impl Sync for QuoteChangeItem
impl Unpin for QuoteChangeItem
impl UnsafeUnpin for QuoteChangeItem
impl UnwindSafe for QuoteChangeItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
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
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
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
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.