pub struct PriceWarnSetNewReq {
pub sid: Option<u64>,
pub delete_flag: Option<bool>,
pub attr: Vec<ItemAttr>,
pub broker_id: Option<u64>,
}Expand description
6809 - 用户股票到价提醒设置(新版本-同一提醒类型支持设置多个), 增量设置 - 请求
Fields§
§sid: Option<u64>备注[1~50]的标签参数只用于到价提醒拉取设置,与通用提醒设置无关,若不设置到价提醒则不用对[1~50]传参
股票id
delete_flag: Option<bool>是不是删除请求 true 删除
attr: Vec<ItemAttr>具体的提醒属性
broker_id: Option<u64>v1.4.110 final E.5 LOW: 补 field 5 对齐 C++ NNProtoFile/Server/PB/Quote/FTCmd6806-6810.proto:215. Rust handler 暂无 caller 但 proto 不留漂移 (per pitfall #23 防第 4 次复发).
数字货币对券商,传入时会更新
Implementations§
Source§impl PriceWarnSetNewReq
impl PriceWarnSetNewReq
Sourcepub fn delete_flag(&self) -> bool
pub fn delete_flag(&self) -> bool
Returns the value of delete_flag, or the default value if delete_flag is unset.
Trait Implementations§
Source§impl Clone for PriceWarnSetNewReq
impl Clone for PriceWarnSetNewReq
Source§fn clone(&self) -> PriceWarnSetNewReq
fn clone(&self) -> PriceWarnSetNewReq
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 PriceWarnSetNewReq
impl Debug for PriceWarnSetNewReq
Source§impl Default for PriceWarnSetNewReq
impl Default for PriceWarnSetNewReq
Source§impl Message for PriceWarnSetNewReq
impl Message for PriceWarnSetNewReq
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 PriceWarnSetNewReq
impl PartialEq for PriceWarnSetNewReq
impl StructuralPartialEq for PriceWarnSetNewReq
Auto Trait Implementations§
impl Freeze for PriceWarnSetNewReq
impl RefUnwindSafe for PriceWarnSetNewReq
impl Send for PriceWarnSetNewReq
impl Sync for PriceWarnSetNewReq
impl Unpin for PriceWarnSetNewReq
impl UnsafeUnpin for PriceWarnSetNewReq
impl UnwindSafe for PriceWarnSetNewReq
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