pub struct Packet {
pub packet_type: PacketType,
pub encrypt_type: EncryptType,
pub seq_id: i32,
pub body: Bytes,
pub command_name: String,
pub uin: i64,
pub message: String,
}Fields
packet_type: PacketTypeencrypt_type: EncryptTypeseq_id: i32body: Bytescommand_name: Stringuin: i64message: StringImplementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnwindSafe for Packet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more