pub struct PriceWarnGetRsp {
pub result: Option<i32>,
pub err_msg: Option<String>,
pub stock_setting_list: Vec<StockSetting>,
pub warn_lists: Vec<NewWarnStockItem>,
}Expand description
6806 - 请求用户股票到价提醒设置 - 回包
Fields§
§result: Option<i32>成功为0,失败为其他
err_msg: Option<String>失败时的错误信息
stock_setting_list: Vec<StockSetting>股票到价提醒设置(若股票无提醒设置,将不会返回)(旧协议版本返回)
warn_lists: Vec<NewWarnStockItem>提醒设置(新协议版本返回)
Implementations§
Trait Implementations§
Source§impl Clone for PriceWarnGetRsp
impl Clone for PriceWarnGetRsp
Source§fn clone(&self) -> PriceWarnGetRsp
fn clone(&self) -> PriceWarnGetRsp
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 PriceWarnGetRsp
impl Debug for PriceWarnGetRsp
Source§impl Default for PriceWarnGetRsp
impl Default for PriceWarnGetRsp
Source§impl Message for PriceWarnGetRsp
impl Message for PriceWarnGetRsp
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 PriceWarnGetRsp
impl PartialEq for PriceWarnGetRsp
impl StructuralPartialEq for PriceWarnGetRsp
Auto Trait Implementations§
impl Freeze for PriceWarnGetRsp
impl RefUnwindSafe for PriceWarnGetRsp
impl Send for PriceWarnGetRsp
impl Sync for PriceWarnGetRsp
impl Unpin for PriceWarnGetRsp
impl UnsafeUnpin for PriceWarnGetRsp
impl UnwindSafe for PriceWarnGetRsp
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