pub struct ServerboundPlayChatCommandSigned {
pub command: String,
pub timestamp: i64,
pub salt: i64,
pub argument_signatures: Vec<ServerboundPlayChatCommandSignedArgumentsignatures>,
pub message_count: i32,
pub acknowledged: Vec<u8>,
}Fields§
§command: String§timestamp: i64§salt: i64§argument_signatures: Vec<ServerboundPlayChatCommandSignedArgumentsignatures>§message_count: i32§acknowledged: Vec<u8>Implementations§
Source§impl ServerboundPlayChatCommandSigned
impl ServerboundPlayChatCommandSigned
Sourcepub const PACKET_ID: i32 = 6i32
pub const PACKET_ID: i32 = 6i32
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 ServerboundPlayChatCommandSigned
impl Clone for ServerboundPlayChatCommandSigned
Source§fn clone(&self) -> ServerboundPlayChatCommandSigned
fn clone(&self) -> ServerboundPlayChatCommandSigned
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 Default for ServerboundPlayChatCommandSigned
impl Default for ServerboundPlayChatCommandSigned
Source§fn default() -> ServerboundPlayChatCommandSigned
fn default() -> ServerboundPlayChatCommandSigned
Returns the “default value” for a type. Read more
Source§impl EncodedSize for ServerboundPlayChatCommandSigned
impl EncodedSize for ServerboundPlayChatCommandSigned
fn encoded_size(&self) -> usize
Source§impl PartialEq for ServerboundPlayChatCommandSigned
impl PartialEq for ServerboundPlayChatCommandSigned
Source§fn eq(&self, other: &ServerboundPlayChatCommandSigned) -> bool
fn eq(&self, other: &ServerboundPlayChatCommandSigned) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerboundPlayChatCommandSigned
Auto Trait Implementations§
impl Freeze for ServerboundPlayChatCommandSigned
impl RefUnwindSafe for ServerboundPlayChatCommandSigned
impl Send for ServerboundPlayChatCommandSigned
impl Sync for ServerboundPlayChatCommandSigned
impl Unpin for ServerboundPlayChatCommandSigned
impl UnsafeUnpin for ServerboundPlayChatCommandSigned
impl UnwindSafe for ServerboundPlayChatCommandSigned
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