pub struct ServerboundPlayTabComplete {
pub transaction_id: i32,
pub text: String,
}Fields§
§transaction_id: i32§text: StringImplementations§
Source§impl ServerboundPlayTabComplete
impl ServerboundPlayTabComplete
Sourcepub const PACKET_ID: i32 = 13i32
pub const PACKET_ID: i32 = 13i32
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 ServerboundPlayTabComplete
impl Clone for ServerboundPlayTabComplete
Source§fn clone(&self) -> ServerboundPlayTabComplete
fn clone(&self) -> ServerboundPlayTabComplete
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 ServerboundPlayTabComplete
impl Debug for ServerboundPlayTabComplete
Source§impl Default for ServerboundPlayTabComplete
impl Default for ServerboundPlayTabComplete
Source§fn default() -> ServerboundPlayTabComplete
fn default() -> ServerboundPlayTabComplete
Returns the “default value” for a type. Read more
Source§impl Encode for ServerboundPlayTabComplete
impl Encode for ServerboundPlayTabComplete
Source§impl EncodedSize for ServerboundPlayTabComplete
impl EncodedSize for ServerboundPlayTabComplete
fn encoded_size(&self) -> usize
impl StructuralPartialEq for ServerboundPlayTabComplete
Auto Trait Implementations§
impl Freeze for ServerboundPlayTabComplete
impl RefUnwindSafe for ServerboundPlayTabComplete
impl Send for ServerboundPlayTabComplete
impl Sync for ServerboundPlayTabComplete
impl Unpin for ServerboundPlayTabComplete
impl UnsafeUnpin for ServerboundPlayTabComplete
impl UnwindSafe for ServerboundPlayTabComplete
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