pub struct ExRightReq {
pub stock_id_list: Vec<u64>,
pub begin_time: Option<u32>,
pub end_time: Option<u32>,
pub req_flag: Option<u32>,
pub market_type: Option<u32>,
pub limit: Option<u32>,
pub offset: Option<u32>,
pub ert_flag: Option<u32>,
}Fields§
§stock_id_list: Vec<u64>§begin_time: Option<u32>§end_time: Option<u32>§req_flag: Option<u32>§market_type: Option<u32>§limit: Option<u32>§offset: Option<u32>§ert_flag: Option<u32>Implementations§
Source§impl ExRightReq
impl ExRightReq
Sourcepub fn begin_time(&self) -> u32
pub fn begin_time(&self) -> u32
Returns the value of begin_time, or the default value if begin_time is unset.
Sourcepub fn end_time(&self) -> u32
pub fn end_time(&self) -> u32
Returns the value of end_time, or the default value if end_time is unset.
Sourcepub fn req_flag(&self) -> u32
pub fn req_flag(&self) -> u32
Returns the value of req_flag, or the default value if req_flag is unset.
Sourcepub fn market_type(&self) -> u32
pub fn market_type(&self) -> u32
Returns the value of market_type, or the default value if market_type is unset.
Trait Implementations§
Source§impl Clone for ExRightReq
impl Clone for ExRightReq
Source§fn clone(&self) -> ExRightReq
fn clone(&self) -> ExRightReq
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 ExRightReq
impl Debug for ExRightReq
Source§impl Default for ExRightReq
impl Default for ExRightReq
Source§impl Hash for ExRightReq
impl Hash for ExRightReq
Source§impl Message for ExRightReq
impl Message for ExRightReq
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 ExRightReq
impl PartialEq for ExRightReq
impl Eq for ExRightReq
impl StructuralPartialEq for ExRightReq
Auto Trait Implementations§
impl Freeze for ExRightReq
impl RefUnwindSafe for ExRightReq
impl Send for ExRightReq
impl Sync for ExRightReq
impl Unpin for ExRightReq
impl UnsafeUnpin for ExRightReq
impl UnwindSafe for ExRightReq
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.