Struct ricq_core::pb::structmsg::RspSystemMsgNew
source · pub struct RspSystemMsgNew {Show 18 fields
pub head: Option<RspHead>,
pub unread_friend_count: i32,
pub unread_group_count: i32,
pub latest_friend_seq: i64,
pub latest_group_seq: i64,
pub following_friend_seq: i64,
pub following_group_seq: i64,
pub friendmsgs: Vec<StructMsg>,
pub groupmsgs: Vec<StructMsg>,
pub msg_ribbon_friend: Option<StructMsg>,
pub msg_ribbon_group: Option<StructMsg>,
pub msg_display: String,
pub grp_msg_display: String,
pub over: i32,
pub checktype: i32,
pub game_nick: String,
pub undecid_for_qim: Vec<u8>,
pub un_read_count3: i32,
}
Fields§
§head: Option<RspHead>
§unread_friend_count: i32
§unread_group_count: i32
§latest_friend_seq: i64
§latest_group_seq: i64
§following_friend_seq: i64
§following_group_seq: i64
§friendmsgs: Vec<StructMsg>
§groupmsgs: Vec<StructMsg>
§msg_ribbon_friend: Option<StructMsg>
§msg_ribbon_group: Option<StructMsg>
§msg_display: String
§grp_msg_display: String
§over: i32
§checktype: i32
§game_nick: String
§undecid_for_qim: Vec<u8>
§un_read_count3: i32
Trait Implementations§
source§impl Clone for RspSystemMsgNew
impl Clone for RspSystemMsgNew
source§fn clone(&self) -> RspSystemMsgNew
fn clone(&self) -> RspSystemMsgNew
Returns a copy 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 RspSystemMsgNew
impl Debug for RspSystemMsgNew
source§impl Default for RspSystemMsgNew
impl Default for RspSystemMsgNew
source§impl Message for RspSystemMsgNew
impl Message for RspSystemMsgNew
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
Encodes the message to a newly allocated buffer.
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>where
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
. Read more