pub struct PlateListIDsReq {
pub plate_id: u64,
pub sort_type: i32,
pub sort_id: i32,
pub data_from: Option<i32>,
pub data_max_count: Option<i32>,
pub check_code: Option<u64>,
}Expand description
//////////////////////////////////////////////////////////////////////////////////////////////// 命令号:6600 功 能:板块或板块集合下的数据, 按指定列排序, 拉取对应的ID列表, 替代6603协议
Plate_List_IDs
Fields§
§plate_id: u64板块ID或板块集合ID
sort_type: i32升降序 - Plate_Sort_Type
sort_id: i32排序列
data_from: Option<i32>数据起始项
data_max_count: Option<i32>数据返回最大数
check_code: Option<u64>为0,返回所有复合条件的数据;
Implementations§
Source§impl PlateListIDsReq
impl PlateListIDsReq
Sourcepub fn data_from(&self) -> i32
pub fn data_from(&self) -> i32
Returns the value of data_from, or the default value if data_from is unset.
Sourcepub fn data_max_count(&self) -> i32
pub fn data_max_count(&self) -> i32
Returns the value of data_max_count, or the default value if data_max_count is unset.
Sourcepub fn check_code(&self) -> u64
pub fn check_code(&self) -> u64
Returns the value of check_code, or the default value if check_code is unset.
Trait Implementations§
Source§impl Clone for PlateListIDsReq
impl Clone for PlateListIDsReq
Source§fn clone(&self) -> PlateListIDsReq
fn clone(&self) -> PlateListIDsReq
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 PlateListIDsReq
impl Debug for PlateListIDsReq
Source§impl Default for PlateListIDsReq
impl Default for PlateListIDsReq
Source§impl Hash for PlateListIDsReq
impl Hash for PlateListIDsReq
Source§impl Message for PlateListIDsReq
impl Message for PlateListIDsReq
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 PlateListIDsReq
impl PartialEq for PlateListIDsReq
impl Copy for PlateListIDsReq
impl Eq for PlateListIDsReq
impl StructuralPartialEq for PlateListIDsReq
Auto Trait Implementations§
impl Freeze for PlateListIDsReq
impl RefUnwindSafe for PlateListIDsReq
impl Send for PlateListIDsReq
impl Sync for PlateListIDsReq
impl Unpin for PlateListIDsReq
impl UnsafeUnpin for PlateListIDsReq
impl UnwindSafe for PlateListIDsReq
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.