pub struct ClientboundPlayPlayerChat {
pub sender_uuid: Uuid,
pub index: i32,
pub signature: Option<Vec<u8>>,
pub plain_message: String,
pub timestamp: i64,
pub salt: i64,
pub previous_messages: Vec<ClientboundPlayPlayerChatPreviousmessages>,
pub unsigned_chat_content: Option<NbtCompound>,
pub filter_type: ClientboundPlayPlayerChatFiltertype,
pub type: Vec<u8>,
pub network_name: NbtCompound,
pub network_target_name: Option<NbtCompound>,
}Fields§
§sender_uuid: Uuid§index: i32§signature: Option<Vec<u8>>§plain_message: String§timestamp: i64§salt: i64§previous_messages: Vec<ClientboundPlayPlayerChatPreviousmessages>§unsigned_chat_content: Option<NbtCompound>§filter_type: ClientboundPlayPlayerChatFiltertype§type: Vec<u8>§network_name: NbtCompound§network_target_name: Option<NbtCompound>Implementations§
Source§impl ClientboundPlayPlayerChat
impl ClientboundPlayPlayerChat
Sourcepub const PACKET_ID: i32 = 59i32
pub const PACKET_ID: i32 = 59i32
The packet ID used by the registry to dispatch this packet.
This value is declared via #[packet(id = N)] and corresponds to
the VarInt packet ID read/written by the framing layer. The struct’s
own Encode/Decode does NOT include this ID — it only encodes the
packet’s payload fields.
Trait Implementations§
Source§impl Clone for ClientboundPlayPlayerChat
impl Clone for ClientboundPlayPlayerChat
Source§fn clone(&self) -> ClientboundPlayPlayerChat
fn clone(&self) -> ClientboundPlayPlayerChat
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 ClientboundPlayPlayerChat
impl Debug for ClientboundPlayPlayerChat
Source§impl Default for ClientboundPlayPlayerChat
impl Default for ClientboundPlayPlayerChat
Source§fn default() -> ClientboundPlayPlayerChat
fn default() -> ClientboundPlayPlayerChat
Returns the “default value” for a type. Read more
Source§impl Encode for ClientboundPlayPlayerChat
impl Encode for ClientboundPlayPlayerChat
Source§impl EncodedSize for ClientboundPlayPlayerChat
impl EncodedSize for ClientboundPlayPlayerChat
fn encoded_size(&self) -> usize
impl StructuralPartialEq for ClientboundPlayPlayerChat
Auto Trait Implementations§
impl Freeze for ClientboundPlayPlayerChat
impl RefUnwindSafe for ClientboundPlayPlayerChat
impl Send for ClientboundPlayPlayerChat
impl Sync for ClientboundPlayPlayerChat
impl Unpin for ClientboundPlayPlayerChat
impl UnsafeUnpin for ClientboundPlayPlayerChat
impl UnwindSafe for ClientboundPlayPlayerChat
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