pub struct SystemMsg {Show 52 fields
pub sub_type: i32,
pub msg_title: String,
pub msg_describe: String,
pub msg_additional: String,
pub msg_source: String,
pub msg_decided: String,
pub src_id: i32,
pub sub_src_id: i32,
pub actions: Vec<SystemMsgAction>,
pub group_code: i64,
pub action_uin: i64,
pub group_msg_type: i32,
pub group_inviter_role: i32,
pub friend_info: Option<FriendInfo>,
pub group_info: Option<SGroupInfo>,
pub actor_uin: i64,
pub msg_actor_describe: String,
pub msg_additional_list: String,
pub relation: i32,
pub reqsubtype: i32,
pub clone_uin: i64,
pub discuss_uin: i64,
pub eim_group_id: i64,
pub msg_invite_extinfo: Option<MsgInviteExt>,
pub msg_pay_group_extinfo: Option<MsgPayGroupExt>,
pub source_flag: i32,
pub game_nick: Vec<u8>,
pub game_msg: Vec<u8>,
pub group_flagext3: i32,
pub group_owner_uin: i64,
pub doubt_flag: i32,
pub warning_tips: Vec<u8>,
pub name_more: Vec<u8>,
pub req_uin_faceid: i32,
pub req_uin_nick: String,
pub group_name: String,
pub action_uin_nick: String,
pub msg_qna: String,
pub msg_detail: String,
pub group_ext_flag: i32,
pub actor_uin_nick: String,
pub pic_url: String,
pub clone_uin_nick: String,
pub req_uin_business_card: String,
pub eim_group_id_name: String,
pub req_uin_pre_remark: String,
pub action_uin_qq_nick: String,
pub action_uin_remark: String,
pub req_uin_gender: i32,
pub req_uin_age: i32,
pub c2c_invite_join_group_flag: i32,
pub card_switch: i32,
}
Fields§
§sub_type: i32
§msg_title: String
§msg_describe: String
§msg_additional: String
§msg_source: String
§msg_decided: String
§src_id: i32
§sub_src_id: i32
§actions: Vec<SystemMsgAction>
§group_code: i64
§action_uin: i64
§group_msg_type: i32
§group_inviter_role: i32
§friend_info: Option<FriendInfo>
§group_info: Option<SGroupInfo>
§actor_uin: i64
§msg_actor_describe: String
§msg_additional_list: String
§relation: i32
§reqsubtype: i32
§clone_uin: i64
§discuss_uin: i64
§eim_group_id: i64
§msg_invite_extinfo: Option<MsgInviteExt>
§msg_pay_group_extinfo: Option<MsgPayGroupExt>
§source_flag: i32
§game_nick: Vec<u8>
§game_msg: Vec<u8>
§group_flagext3: i32
§group_owner_uin: i64
§doubt_flag: i32
§warning_tips: Vec<u8>
§name_more: Vec<u8>
§req_uin_faceid: i32
§req_uin_nick: String
§group_name: String
§action_uin_nick: String
§msg_qna: String
§msg_detail: String
§group_ext_flag: i32
§actor_uin_nick: String
§pic_url: String
§clone_uin_nick: String
§req_uin_business_card: String
§eim_group_id_name: String
§req_uin_pre_remark: String
§action_uin_qq_nick: String
§action_uin_remark: String
§req_uin_gender: i32
§req_uin_age: i32
§c2c_invite_join_group_flag: i32
§card_switch: i32
Trait Implementations§
source§impl Message for SystemMsg
impl Message for SystemMsg
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